twisted.conch.test.test_endpoints.AbortableFakeTransport(FakeTransport)
class documentationtwisted.conch.test.test_endpoints
(View In Hierarchy)
A FakeTransport
with added abortConnection
support.
Method | abortConnection | Abort the connection in a fake manner. |
Inherited from FakeTransport:
Method | __init__ | |
Method | __repr__ | Undocumented |
Method | write | Write some data to the physical connection, in sequence, in a non-blocking fashion. |
Method | registerProducer | From abstract.FileDescriptor |
Method | unregisterProducer | Undocumented |
Method | stopConsuming | Undocumented |
Method | writeSequence | Write an iterable of byte strings to the physical connection. |
Method | loseConnection | Close my connection, after writing all pending data. |
Method | reportDisconnect | Undocumented |
Method | logPrefix | Identify this transport/event source to the logging system. |
Method | getPeer | Get the remote address of this connection. |
Method | getHost | Similar to getPeer, but returns an address describing this side of the connection. |
Method | resumeProducing | Undocumented |
Method | pauseProducing | Undocumented |
Method | stopProducing | Undocumented |
Method | startTLS | Initiate TLS negotiation. |
Method | getOutBuffer | Get the pending writes from this transport, clearing them from the pending buffer. |
Method | bufferReceived | Undocumented |
Method | _checkProducer | Undocumented |