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


Public Member Functions | |
| virtual wns::ldk::CommandPool * | createReply (const wns::ldk::CommandPool *original) const |
| Default createReply implementation. | |
| virtual wns::service::dll::UnicastAddress | getMACAddress () const |
| virtual std::string | getSubnetIdentifier () |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| virtual void | registerFlowHandler (wns::service::dll::FlowHandler *) |
| virtual void | registerIRuleControl (wns::service::dll::IRuleControl *) |
| virtual void | sendData (const wns::service::dll::UnicastAddress &_peer, const wns::osi::PDUPtr &_data, wns::service::dll::protocolNumber protocol, wns::service::dll::FlowID _dllFlowID=0) |
| Deliver data to other peer component(s). | |
| virtual void | setMACAddress (const wns::service::dll::UnicastAddress &_sourceMACAddress) |
| UpperConvergence (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config) | |
| virtual | ~UpperConvergence () |
Protected Attributes | |
| wns::logger::Logger | logger |
| wns::service::dll::UnicastAddress | sourceMACAddress |
Definition at line 66 of file UpperConvergence.hpp.
| UpperConvergence::UpperConvergence | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 32 of file UpperConvergence.cpp.
| UpperConvergence::~UpperConvergence | ( | ) | [virtual] |
Definition at line 44 of file UpperConvergence.cpp.
| wns::ldk::CommandPool * UpperConvergence::createReply | ( | const wns::ldk::CommandPool * | original | ) | const [virtual] |
The default behaviour is to delegate creation of replies to upper functional units.
Reimplemented from wns::ldk::CommandTypeSpecifier< T >.
Definition at line 102 of file UpperConvergence.cpp.
| wns::service::dll::UnicastAddress UpperConvergence::getMACAddress | ( | ) | const [virtual] |
Implements wns::service::dll::DataTransmission< wns::service::dll::UnicastAddress >.
Definition at line 96 of file UpperConvergence.cpp.
| virtual std::string dll::UpperConvergence::getSubnetIdentifier | ( | ) | [inline, virtual] |
Definition at line 94 of file UpperConvergence.hpp.
| void UpperConvergence::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.
Reimplemented in lte::upperconvergence::ENBUpperConvergence, and lte::upperconvergence::UEUpperConvergence.
Definition at line 49 of file UpperConvergence.cpp.
| void UpperConvergence::registerFlowHandler | ( | wns::service::dll::FlowHandler * | flowHandler | ) | [inline, virtual] |
Implements wns::service::dll::Notification.
Reimplemented in dll::UTUpperConvergence, dll::APUpperConvergence, dll::NoUpperConvergence, and lte::upperconvergence::UEUpperConvergence.
Definition at line 80 of file UpperConvergence.hpp.
| virtual void dll::UpperConvergence::registerIRuleControl | ( | wns::service::dll::IRuleControl * | ) | [inline, virtual] |
| void UpperConvergence::sendData | ( | const wns::service::dll::UnicastAddress & | macAddress, | |
| const wns::osi::PDUPtr & | data, | |||
| wns::service::dll::protocolNumber | protocol, | |||
| wns::service::dll::FlowID | _dllFlowID = 0 | |||
| ) | [virtual] |
| [in] | macAddress | Destination component(s) where data is to be delivered. |
| [in] | data | Protocol Data Unit that is to be transported. |
Implements wns::service::dll::DataTransmission< wns::service::dll::UnicastAddress >.
Reimplemented in lte::upperconvergence::ENBUpperConvergence, and lte::upperconvergence::UEUpperConvergence.
Definition at line 54 of file UpperConvergence.cpp.
| void UpperConvergence::setMACAddress | ( | const wns::service::dll::UnicastAddress & | _sourceMACAddress | ) | [virtual] |
Definition at line 90 of file UpperConvergence.cpp.
wns::logger::Logger dll::UpperConvergence::logger [protected] |
Definition at line 110 of file UpperConvergence.hpp.
Definition at line 109 of file UpperConvergence.hpp.
1.5.5