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.
def getInitialState(self):
def lengthLimitExceeded(self, length):
Undocumented
def _getHeader(self, msg):
Undocumented
def _getString(self, msg):
Undocumented
def stringReceived(self, msg):

Override this.

def sendString(self, data):

Send an int32-prefixed string to the other end of the connection.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.