Simple Receiver class used for testing LoopbackRelay

Method dataReceived Accumulate received data for verification

Inherited from Protocol:

Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via Protocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def dataReceived(self, data):

Accumulate received data for verification

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.