RLRP routing  v.0.1.0
Messages.RrepMessage Class Reference

Route Reply service message. More...

Collaboration diagram for Messages.RrepMessage:
Collaboration graph

Public Member Functions

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

Public Attributes

 id
 Unique message ID. More...
 
 src_ip
 Source IP address in a string representation form of IPv4 or IPv6 addresses. More...
 
 dst_ip
 Destination IP address in a string representation form of IPv4 or IPv6 addresses. More...
 
 hop_count
 Current hop count value. More...
 

Static Public Attributes

 type = int()
 Type ID of RREP message. More...
 

Detailed Description

Route Reply service message.

This service message is used for both IPv4 and IPv6 L3 addressing cases.

Constructor & Destructor Documentation

def Messages.RrepMessage.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Function Documentation

def Messages.RrepMessage.__str__ (   self)

Default print method.

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

Member Data Documentation

Messages.RrepMessage.dst_ip

Destination IP address in a string representation form of IPv4 or IPv6 addresses.

Messages.RrepMessage.hop_count

Current hop count value.

Messages.RrepMessage.id

Unique message ID.

Messages.RrepMessage.src_ip

Source IP address in a string representation form of IPv4 or IPv6 addresses.

Messages.RrepMessage.type = int()
static

Type ID of RREP message.

This type ID value is being set in Messages.pack_message function, depending on L3 addressing type this message contains. In case of IPv4 - type ID is 4, in case of IPv6 - type ID is 5.


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