twisted.internet.test.test_tcp.FakeProtocol(Protocol) class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
An IProtocol
that returns a value from its dataReceived method.
| Method | dataReceived | Return something other than Noneto trigger a deprecation warning for that behavior. | 
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. | 
Return something other than None
to trigger a deprecation warning for that behavior.