예제 #1
0
파일: ampauth.py 프로젝트: bne/squeal
 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
예제 #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
예제 #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)
예제 #4
0
파일: sigma.py 프로젝트: zhp1254/vertex
 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)
예제 #5
0
파일: sigma.py 프로젝트: chellygel/vertex
 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)
예제 #6
0
파일: _protocol.py 프로젝트: Elenw/flocker
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
     self._pinger.stop()
예제 #7
0
파일: _protocol.py 프로젝트: Elenw/flocker
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.control_amp_service.disconnected(self)
     self._pinger.stop()
예제 #8
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.control_amp_service.disconnected(self)
     self._pinger.stop()
예제 #9
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
     self._pinger.stop()
예제 #10
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
예제 #11
0
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
예제 #12
0
파일: control.py 프로젝트: intk/perry
 def connectionLost(self, reason):
     self.connection_lost_callback(self)
     return AMP.connectionLost(self, reason)