Logo Search packages:      
Sourcecode: jabber-irc version File versions  Download package

def adhoc::Disconnect_Server_Command::_DiscoHandler (   self,
  conn,
  event,
  type 
) [private]

The handler for discovery events

Definition at line 154 of file adhoc.py.

00154                                            :
        """The handler for discovery events"""
        fromjid = event.getFrom().getStripped().__str__()
        to = event.getTo()
        room = irc_ulower(to.getNode())
        try:
            channel, server = room.split('%',1)
            channel = JIDDecode(channel)
        except ValueError:
            channel=''
            server=room
            sys.exc_clear()
        if channel == '' and self.transport.users.has_key(fromjid) and self.transport.users[fromjid].has_key(server):
            return xmpp.commands.Command_Handler_Prototype._DiscoHandler(self,conn,event,type)
        else:
            return None

    def cmdFirstStage(self,conn,event):


Generated by  Doxygen 1.6.0   Back to index