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


Public Member Functions | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| virtual void | processIncoming (const wns::ldk::CompoundPtr &_compound) |
| Process compounds on uplink. | |
| virtual void | sendData (const wns::service::tl::FlowID &_flowID, const wns::osi::PDUPtr &sdu) |
| void | setTLService (Service *_tlService) |
| UpperConvergence (wns::ldk::fun::FUN *_fun, const wns::pyconfig::View &_pyco) | |
| Adapting the service provided by a TCP component to the FUN. | |
| virtual | ~UpperConvergence () |
Private Attributes | |
| wns::logger::Logger | logger |
| wns::pyconfig::View | pyco |
| TCPHeader * | tcpHeaderFU |
| wns::ldk::CommandReaderInterface * | tcpHeaderReader |
| Service * | tlService |
Definition at line 53 of file UpperConvergence.hpp.
| tcp::UpperConvergence::UpperConvergence | ( | wns::ldk::fun::FUN * | _fun, | |
| const wns::pyconfig::View & | _pyco | |||
| ) |
| virtual tcp::UpperConvergence::~UpperConvergence | ( | ) | [virtual] |
| virtual void tcp::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.
| virtual void tcp::UpperConvergence::processIncoming | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Override this method to handle incoming compounds.
Reimplemented from wns::ldk::Forwarding< USER >.
| virtual void tcp::UpperConvergence::sendData | ( | const wns::service::tl::FlowID & | _flowID, | |
| const wns::osi::PDUPtr & | sdu | |||
| ) | [virtual] |
| void tcp::UpperConvergence::setTLService | ( | Service * | _tlService | ) |
Definition at line 88 of file UpperConvergence.hpp.
Definition at line 86 of file UpperConvergence.hpp.
TCPHeader* tcp::UpperConvergence::tcpHeaderFU [private] |
Definition at line 92 of file UpperConvergence.hpp.
Definition at line 94 of file UpperConvergence.hpp.
Service* tcp::UpperConvergence::tlService [private] |
Definition at line 90 of file UpperConvergence.hpp.
1.5.5