class documentation

class StubTransportWithWriteErr(StubTransport): (source)

View In Hierarchy

A version of StubTransport which records the error data sent to it.

Method writeErr 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 getHost Return an arbitrary IAddress.
Method getPeer Return an arbitrary IAddress.
Method loseConnection Note that the connection was closed.
Method setTcpNoDelay 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.
def writeErr(self, data): (source)

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.

the extended data sent to the transport.