A stub for twisted.conch.ssh.connection.SSHConnection. Record the data that channels send, and when they try to close the connection.

Instance Variable data a dict mapping SSHChannels to a list of bytes of data they sent.
Instance Variable extData a dict mapping SSHChannels to a list of tuple of (int, bytes) of extended data they sent.
Instance Variable requests a dict mapping SSHChannels to a list of tuple of (str, bytes) of channel requests they made.
Instance Variable eofs a dict mapping SSHChannels to true if they have sent an EOF.
Instance Variable closes a dict mapping SSHChannels to true if they have sent a close.
Method __init__ Initialize our instance variables.
Method logPrefix Return our logging prefix.
Method sendData Record the sent data.
Method sendExtendedData Record the sent extended data.
Method sendRequest Record the sent channel request.
Method sendEOF Record the sent EOF.
Method sendClose Record the sent close.
data =
a dict mapping SSHChannels to a list of bytes of data they sent.
extData =
a dict mapping SSHChannels to a list of tuple of (int, bytes) of extended data they sent.
requests =
a dict mapping SSHChannels to a list of tuple of (str, bytes) of channel requests they made.
eofs =
a dict mapping SSHChannels to true if they have sent an EOF.
closes =
a dict mapping SSHChannels to true if they have sent a close.
def __init__(self, transport=None):

Initialize our instance variables.

def logPrefix(self):

Return our logging prefix.

def sendData(self, channel, data):

Record the sent data.

def sendExtendedData(self, channel, type, data):

Record the sent extended data.

def sendRequest(self, channel, request, data, wantReply=False):

Record the sent channel request.

def sendEOF(self, channel):

Record the sent EOF.

def sendClose(self, channel):

Record the sent close.

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