Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 3
0
 def connectionLost(self, reason):
     log.msg("Disconnected!")
     global current_conn
     current_conn = None
     scheduling.disconnected()
Exemplo n.º 4
0
 def connectionLost(self, reason):
     log.msg("Disconnected!")
     global current_conn
     current_conn = None
     scheduling.disconnected()