Beispiel #1
0
    def connectionLost(self, reason):
        log.msg("Disconnected!")

        global current_conns, default_conn
        del current_conns[self.jid]

        if default_conn == self:
            default_conn = None

        scheduling.disconnected()
Beispiel #2
0
    def connectionLost(self, reason):
        log.msg("Disconnected!")

        global current_conns, default_conn
        del current_conns[self.jid]

        if default_conn == self:
            default_conn = None

        scheduling.disconnected()
Beispiel #3
0
 def connectionLost(self, reason):
     log.msg("Disconnected!")
     global current_conn
     current_conn = None
     scheduling.disconnected()
Beispiel #4
0
 def connectionLost(self, reason):
     log.msg("Disconnected!")
     global current_conn
     current_conn = None
     scheduling.disconnected()