|
ZeroSDN Controller
1.0
A modular distributed Software-Defined Network Controller
|
A Module representing one ARP handle. More...
#include <ARPModule.hpp>
Public Member Functions | |
| ARPModule (uint64_t instanceId) | |
| ~ARPModule () | |
| virtual void | disable () |
Protected Member Functions | |
| virtual bool | enable () |
Friends | |
| class | ARPModuleTests |
A Module representing one ARP handle.
The module handles any ARP request and reply. For an ARP reply, just forward the ARP to the target device, and in case a request it replies by it self in case it knows the target device, try to get the information from the device manager or ignore it in other case.0
| ARPModule::ARPModule | ( | uint64_t | instanceId | ) |
| ARPModule::~ARPModule | ( | ) |
|
virtual |
Delete the ARP cache
|
protectedvirtual |
Called when the module should enable itself. Must initialize and start the module. Here the module subscribes to topic ARP from Switch Adapter and subscribes to topic deviceStateChange from Device Module, also gets the devices that the device Manager knows at this point
|
friend |
Allow theclassARPModuleTests to have access to the private methods of this class