Ejemplo n.º 1
0
 def connectionLost(self, reason):
     """
     If a login has happened, perform a logout.
     """
     AMP.connectionLost(self, reason)
     if self.logout is not None:
         self.logout()
         self.boxReceiver = self.logout = None
Ejemplo n.º 2
0
 def connectionLost(self, reason):
     """
     If a login has happened, perform a logout.
     """
     AMP.connectionLost(self, reason)
     if self.logout is not None:
         self.logout()
         self.boxReceiver = self.logout = None
Ejemplo n.º 3
0
 def connectionLost(self, reason):
     for id, producer in self._producers.items():
         consumer = self._consumers.get(id)
         if consumer is None:
             self._finishReceiving(id, reason)
         else:
             self._finishSending(id, reason)
     AMP.connectionLost(self, reason)
Ejemplo n.º 4
0
 def connectionLost(self, reason):
     """
     Inform the associated L{conncache.ConnectionCache} that this
     protocol has been disconnected.
     """
     self.nexus.conns.connectionLostForKey(
         (endpoint.Q2QEndpoint(self.nexus.svc, self.nexus.addr,
                               self.transport.getQ2QPeer(),
                               PROTOCOL_NAME), None))
     AMP.connectionLost(self, reason)
Ejemplo n.º 5
0
 def connectionLost(self, reason):
     """
     Inform the associated L{conncache.ConnectionCache} that this
     protocol has been disconnected.
     """
     self.nexus.conns.connectionLostForKey((endpoint.Q2QEndpoint(
             self.nexus.svc,
             self.nexus.addr,
             self.transport.getQ2QPeer(),
             PROTOCOL_NAME), None))
     AMP.connectionLost(self, reason)
Ejemplo n.º 6
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
     self._pinger.stop()
Ejemplo n.º 7
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.control_amp_service.disconnected(self)
     self._pinger.stop()
Ejemplo n.º 8
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.control_amp_service.disconnected(self)
     self._pinger.stop()
Ejemplo n.º 9
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
     self._pinger.stop()
Ejemplo n.º 10
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
Ejemplo n.º 11
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
Ejemplo n.º 12
0
 def connectionLost(self, reason):
     self.connection_lost_callback(self)
     return AMP.connectionLost(self, reason)