|
RLRP routing
v.0.1.0
|
Main wrapper class, which starts the classes for advertising and listening of Hello messages. More...

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... | |
Main wrapper class, which starts the classes for advertising and listening of Hello messages.
| def NeighborDiscovery.NeighborDiscovery.__init__ | ( | self, | |
| raw_transport_obj, | |||
| table_obj | |||
| ) |
Constructor.
| self | The object pointer. |
| raw_transport_obj | Reference to Transport.RawTransport object. |
| table_obj | Reference to RouteTable.Table object. |
| def NeighborDiscovery.NeighborDiscovery.run | ( | self | ) |
Start the advertising thread.
| self | The object pointer. |

| def NeighborDiscovery.NeighborDiscovery.stop_threads | ( | self | ) |
Stop the advertising thread.
| self | The object pointer. |
| 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.