Trees | Indices | Help |
|
---|
|
Base class for messages.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Constructor Arguments: packedHeader -- string representing the packed header format for the message, use the same syntax as the 'struct' Python module |
Read buffer from stream and try to create a message from it Arguments: streamBuf - string buffer of the last bytes received from Spec Return value : the number of consumed bytes |
Read the header of the message coming from stream Arguments: rawstring -- raw bytes of the header Return value: (message data type, message data len) tuple |
Read the data part of the message coming from stream Arguments: rawstring -- raw data bytes datatype -- data type Return value: the data read |
Try to guess data type Works for obvious cases only
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 20 03:53:37 2014 | http://epydoc.sourceforge.net |