def renew_subscription(self): self.info("renew_subscription") event.subscribe(self)
def renew_subscription(self): event.subscribe(self)
def subscribe(self): self.debug("subscribe %s", self.id) event.subscribe(self)
def subscribe(self): self.debug("subscribe %s", self.id) if not self.subscription_id: # already subscribed? event.subscribe(self)
def renew_subscription(self): self.info("renew_subscription") self.renew_subscription_call = reactor.callLater(SUBSCRIBE_RETRY_INTERVAL, self.renew_subscription) # in case this attempt fails event.subscribe(self)
def subscribe(self): self.debug("subscribe %s", self.id) if self.does_sends_events: event.subscribe(self)