class documentation

A basic.Int16StringReceiver storing received strings in an array.

Instance Variable received array holding received strings.

Inherited from TestMixin:

Method connectionLost Undocumented
Method connectionMade Undocumented
Method stringReceived Undocumented
Constant MAX_LENGTH Undocumented
Instance Variable closed Undocumented

Inherited from Int16StringReceiver (via TestMixin):

Class Variable prefixLength Undocumented
Class Variable structFormat Undocumented

Inherited from IntNStringReceiver (via TestMixin, Int16StringReceiver):

Method dataReceived Convert int prefixed strings into calls to stringReceived.
Method lengthLimitExceeded Callback invoked when a length prefix greater than MAX_LENGTH is received. The default implementation disconnects the transport. Override this.
Method sendString Send a prefixed string to the other end of the connection.
Class Variable recvd Undocumented
Instance Variable _compatibilityOffset 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, Int16StringReceiver, IntNStringReceiver):

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 TestMixin, Int16StringReceiver, IntNStringReceiver, Protocol):

Method makeConnection Make a connection to a transport and a server.
Instance Variable connected Undocumented
Instance Variable transport Undocumented

Inherited from _PauseableMixin (via TestMixin, Int16StringReceiver, IntNStringReceiver, Protocol, BaseProtocol):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented
Instance Variable paused Undocumented
received = (source)

array holding received strings.