def connectionInitialized(self): MessageProtocol.connectionInitialized(self) RosterClientProtocol.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self) #Call to handler self._xmpphandler.onAuthenticated()
def connectionInitialized(self): MessageProtocol.connectionInitialized(self) if self.presenceHandler is None: # Look for a presence handler for handler in self.parent: if isinstance(handler, PresenceProtocol): self.presenceHandler = handler break # Send presence to the room to join if self.presenceHandler is not None: self.presenceHandler.available(recipient=self.occupantJID) else: log.msg("No presence handler available for this connection!")
def connectionInitialized(self): MessageProtocol.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self)
def connectionInitialized(self): LocationQuery.connectionInitialized(self) JabberRPC.connectionInitialized(self) MessageProtocol.connectionInitialized(self) IQBasedAvatar.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self)
def connectionInitialized(self): print 'Initializing connection' MessageProtocol.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self) RosterClientProtocol.connectionInitialized(self) self.getRoster().addCallback(self.processRoster)
def connectionInitialized(self): MessageProtocol.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self) self.statii = {} self.ignoring = defaultdict(set)
def connectionInitialized(self): MessageProtocol.connectionInitialized(self) PresenceClientProtocol.connectionInitialized(self) self.statii = {} self.ignoring = DefaultDict() self.ignoring.f = lambda x: sets.Set()