Ejemplo n.º 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()
Ejemplo n.º 2
0
 def __setupSubscription(self, clubDbID, subscriptionType):
     return self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))
Ejemplo n.º 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()
Ejemplo n.º 4
0
 def __setupSubscription(self, clubDbID, subscriptionType):
     return self.__subscriptions.setdefault(clubDbID, subscriptions._Subscription(clubDbID, subscriptionType, self))