RLRP routing  v.0.1.0
NeighborDiscovery.NeighborDiscovery Class Reference

Main wrapper class, which starts the classes for advertising and listening of Hello messages. More...

Collaboration diagram for NeighborDiscovery.NeighborDiscovery:
Collaboration graph

Public Member Functions

def __init__ (self, raw_transport_obj, table_obj)
 Constructor. More...
 
def run (self)
 Start the advertising thread. More...
 
def stop_threads (self)
 Stop the advertising thread. More...
 

Public Attributes

 listen_neighbors_handler
 Create and store an object of ListenNeighbors class. More...
 
 advertise_thread
 Create and store an object of AdvertiseNeighbor class. More...
 

Detailed Description

Main wrapper class, which starts the classes for advertising and listening of Hello messages.

Constructor & Destructor Documentation

def NeighborDiscovery.NeighborDiscovery.__init__ (   self,
  raw_transport_obj,
  table_obj 
)

Constructor.

Parameters
selfThe object pointer.
raw_transport_objReference to Transport.RawTransport object.
table_objReference to RouteTable.Table object.
Returns
None

Member Function Documentation

def NeighborDiscovery.NeighborDiscovery.run (   self)

Start the advertising thread.

Parameters
selfThe object pointer.
Returns
None

Here is the caller graph for this function:

def NeighborDiscovery.NeighborDiscovery.stop_threads (   self)

Stop the advertising thread.

Parameters
selfThe object pointer.
Returns
None

Member Data Documentation

NeighborDiscovery.NeighborDiscovery.advertise_thread

Create and store an object of AdvertiseNeighbor class.

NeighborDiscovery.NeighborDiscovery.listen_neighbors_handler

Create and store an object of ListenNeighbors class.


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