A base class for the client and server protocols. Stores the messages it receives instead of ignoring them.

Instance Variable errors a list of tuples: (reasonCode, description)
Instance Variable unimplementeds a list of integers: sequence number
Instance Variable debugs a list of tuples: (alwaysDisplay, message, lang)
Instance Variable ignoreds a list of strings: ignored data
Method connectionMade Set up instance variables.
Method receiveError Store any errors received.
Method receiveUnimplemented Store any unimplemented packet messages.
Method receiveDebug Store any debug messages.
Method ssh_IGNORE Store any ignored data.
Method _unsupportedVersionReceived Intercept unsupported version call.
errors =
a list of tuples: (reasonCode, description)
unimplementeds =
a list of integers: sequence number
debugs =
a list of tuples: (alwaysDisplay, message, lang)
ignoreds =
a list of strings: ignored data
def connectionMade(self):

Set up instance variables.

def _unsupportedVersionReceived(self, remoteVersion):

Intercept unsupported version call.

def receiveError(self, reasonCode, description):

Store any errors received.

def receiveUnimplemented(self, seqnum):

Store any unimplemented packet messages.

def receiveDebug(self, alwaysDisplay, message, lang):

Store any debug messages.

def ssh_IGNORE(self, packet):

Store any ignored data.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.