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


Public Member Functions | |
| ARPResolver (wns::ldk::fun::FUN *fuNet, const wns::pyconfig::View &config) | |
| virtual bool | doIsAccepting (const wns::ldk::CompoundPtr &compound) const |
| virtual void | doOnData (const wns::ldk::CompoundPtr &compound) |
| virtual void | doSendData (const wns::ldk::CompoundPtr &compound) |
| virtual void | doWakeup () |
| virtual void | onAddressResolved (wns::service::dll::UnicastAddress dest) |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
Private Attributes | |
| wns::ldk::CompoundPtr | buffer |
| wns::ldk::CommandReaderInterface * | ipHeaderReader |
| wns::logger::Logger | log |
| wns::service::dll::UnicastAddress | macID |
Definition at line 54 of file ARPResolver.hpp.
| ARPResolver::ARPResolver | ( | wns::ldk::fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 39 of file ARPResolver.cpp.
| bool ARPResolver::doIsAccepting | ( | const wns::ldk::CompoundPtr & | compound | ) | const [virtual] |
Definition at line 109 of file ARPResolver.cpp.
| void ARPResolver::doOnData | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Definition at line 96 of file ARPResolver.cpp.
| void ARPResolver::doSendData | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Definition at line 59 of file ARPResolver.cpp.
| void ARPResolver::doWakeup | ( | ) | [virtual] |
Definition at line 158 of file ARPResolver.cpp.
| void ARPResolver::onAddressResolved | ( | wns::service::dll::UnicastAddress | dest | ) | [virtual] |
| void ARPResolver::onFUNCreated | ( | ) | [virtual] |
Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".
The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.
Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.
When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.
Reimplemented from wns::ldk::FunctionalUnit.
Definition at line 52 of file ARPResolver.cpp.
wns::ldk::CompoundPtr ip::ARPResolver::buffer [private] |
Definition at line 91 of file ARPResolver.hpp.
Definition at line 87 of file ARPResolver.hpp.
wns::logger::Logger ip::ARPResolver::log [private] |
Definition at line 85 of file ARPResolver.hpp.
Definition at line 89 of file ARPResolver.hpp.
1.5.5