Class Int32StringReceiver
BaseProtocol
--+
|
Protocol
--+
|
Int32StringReceiver
A receiver for int32-prefixed strings.
An int32 string is a string prefixed by 4 bytes, the 32-bit length of
the string encoded in network byte order.
This class publishes the same interface as NetstringReceiver.
dataReceived(self,
recd)
Convert int32 prefixed strings into calls to stringReceived.
-
|
sendString(self,
data)
Send an int32-prefixed string to the other end of the connection.
-
|
stringReceived(self,
msg)
Override this.
-
|
MAX_LENGTH
-
- Type:
-
int
- Value:
|
recvd
-
- Type:
-
string
- Value:
|