class documentation
class StubTransportWithWriteErr(StubTransport): (source)
A version of StubTransport which records the error data sent to it.
Method | write |
Record the extended data in the buffer. This was an old interface that allowed the Transports from ISession.openShell() or ISession.execCommand() to receive extended data from the client. |
Instance Variable | err |
the extended data sent to the transport. |
Inherited from StubTransport
:
Method | get |
Return an arbitrary IAddress . |
Method | get |
Return an arbitrary IAddress . |
Method | lose |
Note that the connection was closed. |
Method | set |
Pretend to set TCP_NODELAY. |
Method | write |
Record data in the buffer. |
Instance Variable | buf |
the data sent to the transport. |
Instance Variable | close |
flags indicating if the transport has been closed. |