Hello message header.
More...
|
def | __init__ (self) |
| Constructor. More...
|
|
def | pack (self, hello_message) |
| Pack the message object into the given structure. More...
|
|
def | unpack (self, binary_header) |
| Unpack the message object from the binary string. More...
|
|
def Messages.HelloHeader.__init__ |
( |
|
self | ) |
|
Constructor.
- Parameters
-
- Returns
- None
def Messages.HelloHeader.pack |
( |
|
self, |
|
|
|
hello_message |
|
) |
| |
Pack the message object into the given structure.
- Parameters
-
- Returns
- A header binary string in hex representation.
def Messages.HelloHeader.unpack |
( |
|
self, |
|
|
|
binary_header |
|
) |
| |
Unpack the message object from the binary string.
- Parameters
-
self | The object pointer. |
binary_header | Binary string with the Hello Header structure. |
- Returns
- (message object, created from the binary string), (length of the unpacked header structure)
int Messages.HelloHeader.max_int32 = 0xFFFFFFFF |
|
static |
int Messages.HelloHeader.max_int64 = 0xFFFFFFFFFFFFFFFF |
|
static |
The documentation for this class was generated from the following file: