RLRP routing  v.0.1.0
NeighborDiscovery Namespace Reference

Classes

class  AdvertiseNeighbor
 Class for periodically broadcasting HELLO message from the node. More...
 
class  ListenNeighbors
 A class for handling incoming Hello messages and registering the corresponding neighbors. More...
 
class  Neighbor
 Class describing a neighbor and its properties. More...
 
class  NeighborDiscovery
 Main wrapper class, which starts the classes for advertising and listening of Hello messages. More...
 

Variables

 ABSOLUTE_PATH = routing_logging.ABSOLUTE_PATH
 This constant stores a string with an absolute path to the program's main directory. More...
 
 NEIGHBOR_LOG = routing_logging.create_routing_log("routing.neighbor_discovery.log", "neighbor_discovery")
 Global routing_logging.LogWrapper object for logging NeighborDiscovery activity. More...
 

Detailed Description

@package NeighborDiscovery
Created on Feb 23, 2015

@author: Dmitrii Dugaev


This module provides functionality for a procedure of a node's neighbors discovery by periodically broadcasting and
receiving HELLO service message into/from the network.
The module is responsible for both broadcasting the HELLO messages, as well as for correctly processing the incoming
HELLO messages from the neighbors, updating the corresponding entries in the routing table, and maintaining the list of
currently available neighbors, which includes deleting the expired/non-answering neighbors, and adding the new ones.

Variable Documentation

NeighborDiscovery.ABSOLUTE_PATH = routing_logging.ABSOLUTE_PATH

This constant stores a string with an absolute path to the program's main directory.

NeighborDiscovery.NEIGHBOR_LOG = routing_logging.create_routing_log("routing.neighbor_discovery.log", "neighbor_discovery")

Global routing_logging.LogWrapper object for logging NeighborDiscovery activity.