![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <VirtualARP.hpp>


Public Types | |
| typedef wns::container::Registry < NLAddress, DLLAddress > | ARPContainer |
| typedef wns::service::dll::UnicastAddress | DLLAddress |
| typedef wns::service::nl::Address | NLAddress |
Public Member Functions | |
| void | bind (DLLAddress macid, NLAddress ip) |
| virtual void | doStartup () |
| Virtual backend of startup(). | |
| virtual void | onNodeCreated () |
| Find partner components within your node as given by the configuration. | |
| virtual void | onShutdown () |
| Called by the parent node after simulation end event occured. | |
| virtual void | onWorldCreated () |
| Find peer components in other nodes. | |
| void | request (ResolveCallback &requester, NLAddress ip) |
| void | unbind (NLAddress ip) |
| VirtualARP (wns::node::Interface *_node, const wns::pyconfig::View &_pyco) | |
| Components take a parent node and a pyconfig::View for initialization. | |
| virtual | ~VirtualARP () |
| Component's destructor. | |
Private Attributes | |
| ARPContainer | arpLookup |
| wns::logger::Logger | log |
| The logger for this component. | |
| simTimeType | resolveDelay |
Classes | |
| class | ResolveTimeout |
Definition at line 58 of file VirtualARP.hpp.
Definition at line 65 of file VirtualARP.hpp.
Definition at line 64 of file VirtualARP.hpp.
Definition at line 63 of file VirtualARP.hpp.
| VirtualARP::VirtualARP | ( | wns::node::Interface * | _node, | |
| const wns::pyconfig::View & | _pyco | |||
| ) |
| [in] | _node | The parent node. |
| [in] | _pyco | Configuration for this component. |
Definition at line 59 of file VirtualARP.cpp.
| VirtualARP::~VirtualARP | ( | ) | [virtual] |
Definition at line 104 of file VirtualARP.cpp.
| void VirtualARP::bind | ( | VirtualARP::DLLAddress | macid, | |
| VirtualARP::NLAddress | ip | |||
| ) |
Definition at line 85 of file VirtualARP.cpp.
| void VirtualARP::doStartup | ( | ) | [virtual] |
| void VirtualARP::onNodeCreated | ( | ) | [virtual] |
| void VirtualARP::onShutdown | ( | ) | [virtual] |
| void VirtualARP::onWorldCreated | ( | ) | [virtual] |
| void VirtualARP::request | ( | ResolveCallback & | requester, | |
| NLAddress | ip | |||
| ) |
Definition at line 73 of file VirtualARP.cpp.
| void VirtualARP::unbind | ( | VirtualARP::NLAddress | ip | ) |
Definition at line 95 of file VirtualARP.cpp.
ARPContainer ip::VirtualARP::arpLookup [private] |
Definition at line 140 of file VirtualARP.hpp.
wns::logger::Logger ip::VirtualARP::log [private] |
Definition at line 138 of file VirtualARP.hpp.
simTimeType ip::VirtualARP::resolveDelay [private] |
Definition at line 133 of file VirtualARP.hpp.
1.5.5