twisted.conch.test.loopback.LoopbackRelay(loopback.LoopbackRelay) class documentationtwisted.conch.test.loopback
(View In Hierarchy)
| Method | logPrefix | Undocumented | 
| Method | write | Write some data to the physical connection, in sequence, in a non-blocking fashion. | 
| Method | _clearBuffer | Undocumented | 
Inherited from LoopbackRelay:
| Method | __init__ | Undocumented | 
| Method | writeSequence | Write an iterable of byte strings to the physical connection. | 
| Method | clearBuffer | Undocumented | 
| Method | loseConnection | Close my connection, after writing all pending data. | 
| Method | getHost | Similar to getPeer, but returns an address describing this side of the connection. | 
| Method | getPeer | Get the remote address of this connection. | 
| Method | registerProducer | Register to receive data from a producer. | 
| Method | unregisterProducer | Stop consuming data from a producer, without disconnecting. | 
Write some data to the physical connection, in sequence, in a non-blocking fashion.
If possible, make sure that it is all written. No data will ever be lost, although (obviously) the connection may be closed before it all gets through.
| Parameters | data | The data to write. (type: bytes) |