twisted.test.test_stateful.MyInt32StringReceiver(StatefulProtocol)
class documentationtwisted.test.test_stateful
(View In Hierarchy)
Known subclasses: twisted.test.test_stateful.TestInt32
A stateful Int32StringReceiver.
Method | getInitialState | Undocumented |
Method | lengthLimitExceeded | Undocumented |
Method | stringReceived | Override this. |
Method | sendString | Send an int32-prefixed string to the other end of the connection. |
Method | _getHeader | Undocumented |
Method | _getString | Undocumented |
Inherited from StatefulProtocol:
Method | makeConnection | Make a connection to a transport and a server. |
Method | dataReceived | Called whenever data is received. |
Inherited from Protocol (via StatefulProtocol):
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 StatefulProtocol, Protocol):
Method | connectionMade | Called when a connection is made. |