RLRP routing  v.0.1.0
Messages.ReliableDataPacket Class Reference

Unicast data packet, transmitted using ARQ module. More...

Collaboration diagram for Messages.ReliableDataPacket:
Collaboration graph

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def __str__ (self)
 Default print method. More...
 

Public Attributes

 id
 Unique packet ID. More...
 
 hop_count
 Current hop count value. More...
 

Static Public Attributes

int type = 9
 Type ID of ARQ-based Unicast Data Packet. More...
 

Detailed Description

Unicast data packet, transmitted using ARQ module.

This is a message for unicast data packets, which are enabled to be sent with the ARQ.

Constructor & Destructor Documentation

def Messages.ReliableDataPacket.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def Messages.ReliableDataPacket.__str__ (   self)

Default print method.

Parameters
selfThe object pointer.
Returns
String with "TYPE: , ID: , HOP_COUNT: ".

Member Data Documentation

Messages.ReliableDataPacket.hop_count

Current hop count value.

Messages.ReliableDataPacket.id

Unique packet ID.

Max value is (2**20 - 1), since the id field size is 20 bits.

int Messages.ReliableDataPacket.type = 9
static

Type ID of ARQ-based Unicast Data Packet.


The documentation for this class was generated from the following file: