RLRP routing  v.0.1.0
Messages.Rrep4Header Class Reference

RREP4 header. More...

Collaboration diagram for Messages.Rrep4Header:
Collaboration graph

Classes

class  Header
 RREP4 header structure. More...
 

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def pack (self, rrep4_message)
 Pack the message object into the given structure. More...
 
def unpack (self, binary_header)
 Unpack the message object from the binary string. More...
 

Detailed Description

RREP4 header.

Constructor & Destructor Documentation

def Messages.Rrep4Header.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def Messages.Rrep4Header.pack (   self,
  rrep4_message 
)

Pack the message object into the given structure.

Parameters
selfThe object pointer.
rrep4_messageThe Messages.RrepMessage object.
Returns
A header binary string in hex representation.
def Messages.Rrep4Header.unpack (   self,
  binary_header 
)

Unpack the message object from the binary string.

Parameters
selfThe object pointer.
binary_headerBinary 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: