Broadcast header.
More...
|
def | __init__ (self) |
| Constructor. More...
|
|
def | pack (self, broadcast_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.BroadcastHeader.__init__ |
( |
|
self | ) |
|
Constructor.
- Parameters
-
- Returns
- None
def Messages.BroadcastHeader.pack |
( |
|
self, |
|
|
|
broadcast_message |
|
) |
| |
Pack the message object into the given structure.
- Parameters
-
- Returns
- A header binary string in hex representation.
def Messages.BroadcastHeader.unpack |
( |
|
self, |
|
|
|
binary_header |
|
) |
| |
Unpack the message object from the binary string.
- Parameters
-
self | The object pointer. |
binary_header | Binary string with the Header structure. |
- Returns
- (message object, created from the binary string), (length of the unpacked header structure)
The documentation for this class was generated from the following file: