RLRP routing  v.0.1.0
Messages.BroadcastPacket Class Reference

Broadcast data packet. More...

Collaboration diagram for Messages.BroadcastPacket:
Collaboration graph

Public Member Functions

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

Public Attributes

 id
 Unique packet ID. More...
 
 broadcast_ttl
 Broadcast TTL counter. More...
 

Static Public Attributes

int type = 1
 Type ID of Broadcast Data Packet. More...
 

Detailed Description

Broadcast data packet.

Constructor & Destructor Documentation

def Messages.BroadcastPacket.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def Messages.BroadcastPacket.__str__ (   self)

Default print method.

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

Member Data Documentation

Messages.BroadcastPacket.broadcast_ttl

Broadcast TTL counter.

Messages.BroadcastPacket.id

Unique packet ID.

int Messages.BroadcastPacket.type = 1
static

Type ID of Broadcast Data Packet.


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