Example #1
0
 def addClubListener(self, clubDbID, listener, subscriptionType, forceResync = False):
     if not self._accountProfile.isSynced():
         self._accountProfile.resync(forceResync=forceResync)
     s = self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))
     s.addListener(listener)
     s.start()
 def __setupSubscription(self, clubDbID, subscriptionType):
     return self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))
Example #3
0
 def addClubListener(self, clubDbID, listener, subscriptionType, forceResync = False):
     if not self._accountProfile.isSynced():
         self._accountProfile.resync(forceResync=forceResync)
     s = self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))
     s.addListener(listener)
     s.start()
Example #4
0
 def __setupSubscription(self, clubDbID, subscriptionType):
     return self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))