Part of twisted.protocols.basic View Source View In Hierarchy
Known subclasses: twisted.protocols.basic.Int16StringReceiver, twisted.protocols.basic.Int32StringReceiver, twisted.protocols.basic.Int8StringReceiver
| Instance Variables | recvd | buffer holding received data when splitted.
 (type: str
) | 
| structFormat | format used for struct packing/unpacking. Define it in subclass.
 (type: str
) | |
| prefixLength | length of the prefix, in bytes. Define it in subclass, using 
struct.calcsize(structFormat)
 (type: int
) | 
| Method | stringReceived | Override this. | 
| Method | lengthLimitExceeded | Callback invoked when a length prefix greater than 
MAX_LENGTH is | 
  
| Method | dataReceived | Convert int prefixed strings into calls to stringReceived. | 
| Method | sendString | Send an prefixed string to the other end of the connection. | 
Inherited from Protocol:
| 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. | 
Inherited from _PauseableMixin:
| Method | pauseProducing | Undocumented | 
| Method | resumeProducing | Undocumented | 
| Method | stopProducing | Undocumented | 
MAX_LENGTH is received.  The default implementation 
disconnects the transport. Override this.| Parameters | length | The length prefix which was received.
 (type: int
) | 
| Parameters | data |  (type: str
) |