class documentation

class FakeProtocol(Protocol): (source)

View In Hierarchy

An IProtocol that returns a value from its dataReceived method.

Method dataReceived Return something other than None to trigger a deprecation warning for that behavior.

Inherited from Protocol:

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

Inherited from BaseProtocol (via Protocol):

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

Return something other than None to trigger a deprecation warning for that behavior.