ZeroSDN Controller  1.0
A modular distributed Software-Defined Network Controller
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros
ARPModule Class Reference

A Module representing one ARP handle. More...

#include <ARPModule.hpp>

Inheritance diagram for ARPModule:

Public Member Functions

 ARPModule (uint64_t instanceId)
 
 ~ARPModule ()
 
virtual void disable ()
 

Protected Member Functions

virtual bool enable ()
 

Friends

class ARPModuleTests
 

Detailed Description

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

Author
Jose Marin
Date
23.07.2015

Constructor & Destructor Documentation

ARPModule::ARPModule ( uint64_t  instanceId)
ARPModule::~ARPModule ( )

Member Function Documentation

virtual void ARPModule::disable ( )
virtual

Delete the ARP cache

virtual bool ARPModule::enable ( )
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

Returns
True if enable successful, False if enable failed or rejected

Friends And Related Function Documentation

friend class ARPModuleTests
friend

Allow theclassARPModuleTests to have access to the private methods of this class


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