class documentation
class StubConnection: (source)
A stub for twisted.conch.ssh.connection.SSHConnection. Record the data that channels send, and when they try to close the connection.
Method | __init__ |
Initialize our instance variables. |
Method | log |
Return our logging prefix. |
Method | send |
Record the sent close. |
Method | send |
Record the sent data. |
Method | send |
Record the sent EOF. |
Method | send |
Record the sent extended data. |
Method | send |
Record the sent channel request. |
Instance Variable | closes |
a dict mapping SSHChannel s to true if they have sent a close. |
Instance Variable | data |
a dict mapping SSHChannels to a list of bytes of data they sent. |
Instance Variable | eofs |
a dict mapping SSHChannel s to true if they have sent an EOF. |
Instance Variable | ext |
a dict mapping SSHChannel s to a list of tuple of (int , bytes ) of extended data they sent. |
Instance Variable | requests |
a dict mapping SSHChannel s to a list of tuple of (str , bytes ) of channel requests they made. |
Instance Variable | transport |
Undocumented |