Undocumented
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.
def logPrefix(self):
def write(self, data):

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.

ParametersdataThe data to write. (type: bytes)
def _clearBuffer(self):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.