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
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
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)
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)
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)
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.agent.disconnected() self._pinger.stop()
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.control_amp_service.disconnected(self) self._pinger.stop()
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.control_amp_service.disconnected(self) self._pinger.stop()
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.agent.disconnected() self._pinger.stop()
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.agent.disconnected()
def connectionLost(self, reason): AMP.connectionLost(self, reason) self.agent.disconnected()
def connectionLost(self, reason): self.connection_lost_callback(self) return AMP.connectionLost(self, reason)