Class Int16StringReceiver
BaseProtocol
--+
|
Protocol
--+
|
Int16StringReceiver
A receiver for int16-prefixed strings.
An int16 string is a string prefixed by 2 bytes, the 16-bit length of
the string encoded in network byte order.
This class publishes the same interface as NetstringReceiver.
Class Variable Summary |
str |
recvd
|
dataReceived(self,
recd)
Convert int16 prefixed strings into calls to stringReceived.
-
|
sendString(self,
data)
Send an int16-prefixed string to the other end of the connection.
-
|
stringReceived(self,
msg)
Override this.
-
|