class documentation
class TestInt32(TestMixin, basic.Int32StringReceiver): (source)
A basic.Int32StringReceiver
storing received strings in an array.
Instance Variable | received |
array holding received strings. |
Inherited from TestMixin
:
Method | connection |
Undocumented |
Method | connection |
Undocumented |
Method | string |
Undocumented |
Constant | MAX |
Undocumented |
Instance Variable | closed |
Undocumented |
Inherited from Int32StringReceiver
(via TestMixin
):
Class Variable | prefix |
Undocumented |
Class Variable | struct |
Undocumented |
Inherited from IntNStringReceiver
(via TestMixin
, Int32StringReceiver
):
Method | data |
Convert int prefixed strings into calls to stringReceived. |
Method | length |
Callback invoked when a length prefix greater than MAX_LENGTH is received. The default implementation disconnects the transport. Override this. |
Method | send |
Send a prefixed string to the other end of the connection. |
Class Variable | recvd |
Undocumented |
Instance Variable | _compatibility |
the offset within _unprocessed to the next message to be parsed. (used to generate the recvd attribute) |
Instance Variable | _unprocessed |
bytes received, but not yet broken up into messages / sent to stringReceived. _compatibilityOffset must be updated when this value is updated so that the recvd attribute can be generated correctly. |
Inherited from Protocol
(via TestMixin
, Int32StringReceiver
, IntNStringReceiver
):
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Class Variable | factory |
Undocumented |
Inherited from BaseProtocol
(via TestMixin
, Int32StringReceiver
, IntNStringReceiver
, Protocol
):
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |
Inherited from _PauseableMixin
(via TestMixin
, Int32StringReceiver
, IntNStringReceiver
, Protocol
, BaseProtocol
):
Method | pause |
Undocumented |
Method | resume |
Undocumented |
Method | stop |
Undocumented |
Instance Variable | paused |
Undocumented |