Beispiel #1
0
 def resynchronize(self):
     LOG_MX('resynchronize')
     if self.__ignore:
         return
     self.__cache.clear()
     self.__persistentCache.clear()
     self.__isSynchronizing = True
     self.__isFirstSync = False
     events.onShopResyncStarted()
     self.__syncController.request(self.__getNextSyncID(), None)
Beispiel #2
0
 def resynchronize(self):
     LOG_MX('resynchronize')
     if self.__ignore:
         return
     else:
         self.__cache.clear()
         self.__isSynchronizing = True
         events.onShopResyncStarted()
         self.__syncController.request(self.__getNextSyncID(), None)
         return
Beispiel #3
0
 def resynchronize(self):
     LOG_MX("resynchronize")
     if self.__ignore:
         return
     self.__cache.clear()
     self.__persistentCache.clear()
     self.__isSynchronizing = True
     self.__isFirstSync = False
     events.onShopResyncStarted()
     self.__syncController.request(self.__getNextSyncID(), None)
Beispiel #4
0
 def synchronize(self, serverCacheRev = None):
     LOG_MX('Shop.synchronize: cli_rev=%s, serv_rev=%s' % (self.__getCacheRevision(), serverCacheRev))
     if self.__ignore:
         return
     if self.__getCacheRevision() == serverCacheRev:
         return
     if self.__isSynchronizing:
         return
     self.__isSynchronizing = True
     if not self.__isFirstSync:
         events.onShopResyncStarted()
     self.__syncController.request(self.__getNextSyncID(), None)
Beispiel #5
0
 def synchronize(self, serverCacheRev = None):
     LOG_MX('Shop.synchronize: cli_rev=%s, serv_rev=%s' % (self.__getCacheRevision(), serverCacheRev))
     if self.__ignore:
         return 
     if self.__getCacheRevision() == serverCacheRev:
         return 
     if self.__isSynchronizing:
         return 
     self.__isSynchronizing = True
     if not self.__isFirstSync:
         events.onShopResyncStarted()
     self.__syncController.request(self.__getNextSyncID(), None)