twisted.conch.test.test_session.StubTransport
class documentationtwisted.conch.test.test_session
(View In Hierarchy)
Known subclasses: twisted.conch.test.test_session.StubTransportWithWriteErr
A stub transport which records the data written.
Instance Variable | buf | the data sent to the transport. (type: bytes ) |
Instance Variable | close | flags indicating if the transport has been closed. (type: bool ) |
Method | getPeer | Return an arbitrary IAddress . |
Method | getHost | Return an arbitrary IAddress . |
Method | write | Record data in the buffer. |
Method | loseConnection | Note that the connection was closed. |
Method | setTcpNoDelay | Pretend to set TCP_NODELAY . |