コード例 #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
ファイル: __init__.py プロジェクト: habnabit/txampproducer
 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
ファイル: _protocol.py プロジェクト: markandrewj/flocker
 def connectionLost(self, reason):
     AMP.connectionLost(self, reason)
     self.agent.disconnected()
コード例 #11
0
ファイル: _protocol.py プロジェクト: ALSEDLAH/flocker
 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)