Package qbuf :: Module twisted_support :: Class Int32StringReceiver

Class Int32StringReceiver

source code

twisted.internet.protocol.BaseProtocol --+            
                                         |            
        twisted.internet.protocol.Protocol --+        
                                             |        
                                 MultiBufferer --+    
                                                 |    
                                IntNStringReceiver --+
                                                     |
                                                    Int32StringReceiver

This class is an implementation of the abstract IntNStringReceiver class, only provided as a demonstration of MODE_STATEFUL.

Instance Methods

Inherited from IntNStringReceiver: getInitialState, receiveLength, receiveString, sendString, stringReceived

Inherited from MultiBufferer: __init__, close, connectionLost, dataReceived, lineReceived, rawDataReceived, read, readline, setMode, unpack, write

Inherited from twisted.internet.protocol.BaseProtocol: __providedBy__, connectionMade, makeConnection

Class Variables
  prefixLength = 4
  structFormat = '!I'

Inherited from IntNStringReceiver: mode

Inherited from MultiBufferer: current_state, initial_delimiter

Inherited from twisted.internet.protocol.Protocol: __implemented__, __provides__

Inherited from twisted.internet.protocol.BaseProtocol: connected, transport

Properties

Inherited from MultiBufferer: delimiter