RLRP routing  v.0.1.0
Messages.Rreq4Header Class Reference

RREQ4 header. More...

Collaboration diagram for Messages.Rreq4Header:
Collaboration graph

Classes

class  Header
 RREQ4 header structure. More...
 

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def pack (self, rreq4_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

RREQ4 header.

Constructor & Destructor Documentation

def Messages.Rreq4Header.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def Messages.Rreq4Header.pack (   self,
  rreq4_message 
)

Pack the message object into the given structure.

Parameters
selfThe object pointer.
rreq4_messageThe Messages.RreqMessage object.
Returns
A header binary string in hex representation.
def Messages.Rreq4Header.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: