Exemplo n.º 1
0
 def receiveError(self, reasonCode, description):
     """
     Called when we receive a disconnect error message from the other
     side.
     """
     error = disconnectErrors.get(reasonCode, DisconnectError)
     self.connectionClosed(error(reasonCode, description))
     SSHClientTransport.receiveError(self, reasonCode, description)
Exemplo n.º 2
0
 def receiveError(self, reasonCode, description):
     """
     Called when we receive a disconnect error message from the other
     side.
     """
     error = disconnectErrors.get(reasonCode, DisconnectError)
     self.connectionClosed(error(reasonCode, description))
     SSHClientTransport.receiveError(self, reasonCode, description)