示例#1
0
 public GeoCachingService()
 {
     try {
         authenticationManager = GeoCachingBLFactory.GetAuthenticationManager();
         cacheManager          = GeoCachingBLFactory.GetCacheManager();
         statisticsManager     = GeoCachingBLFactory.GetStatisticsManager();
         backendRunning        = true;
     }
     catch {
         // in case of any exception when creating "connection" to backend, set flag
         // and do not provide access from outside
         backendRunning = false;
     }
 }
示例#2
0
 public void Initialize( )
 {
     statisticsManager = GeoCachingBLFactory.GetStatisticsManager();
 }