示例#1
0
 def connectionInitialized(self):
     MessageProtocol.connectionInitialized(self)
     RosterClientProtocol.connectionInitialized(self)
     PresenceClientProtocol.connectionInitialized(self)
     
     #Call to handler
     self._xmpphandler.onAuthenticated()
示例#2
0
    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!")
示例#3
0
 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)
示例#5
0
 def connectionInitialized(self):
     MessageProtocol.connectionInitialized(self)
     PresenceClientProtocol.connectionInitialized(self)
示例#6
0
 def connectionInitialized(self):
     print 'Initializing connection'
     MessageProtocol.connectionInitialized(self)
     PresenceClientProtocol.connectionInitialized(self)
     RosterClientProtocol.connectionInitialized(self)
     self.getRoster().addCallback(self.processRoster)
示例#7
0
 def connectionInitialized(self):
     MessageProtocol.connectionInitialized(self)
     PresenceClientProtocol.connectionInitialized(self)
     self.statii = {}
     self.ignoring = defaultdict(set)
示例#8
0
 def connectionInitialized(self):
     MessageProtocol.connectionInitialized(self)
     PresenceClientProtocol.connectionInitialized(self)
     self.statii = {}
     self.ignoring = DefaultDict()
     self.ignoring.f = lambda x: sets.Set()