User Manual, Developers Guide and API Documentation

tcp::UpperConvergence Class Reference

Interface to TCP's FUN.

#include <UpperConvergence.hpp>

Inheritance diagram for tcp::UpperConvergence:

Inheritance graph
[legend]
Collaboration diagram for tcp::UpperConvergence:

Collaboration graph
[legend]

List of all members.

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
TCPHeadertcpHeaderFU
wns::ldk::CommandReaderInterfacetcpHeaderReader
ServicetlService


Detailed Description

Definition at line 53 of file UpperConvergence.hpp.


Constructor & Destructor Documentation

tcp::UpperConvergence::UpperConvergence ( wns::ldk::fun::FUN _fun,
const wns::pyconfig::View _pyco 
)

virtual tcp::UpperConvergence::~UpperConvergence (  )  [virtual]


Member Function Documentation

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  ) 


Member Data Documentation

Definition at line 88 of file UpperConvergence.hpp.

Definition at line 86 of file UpperConvergence.hpp.

Definition at line 92 of file UpperConvergence.hpp.

Definition at line 94 of file UpperConvergence.hpp.

Definition at line 90 of file UpperConvergence.hpp.


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

Generated on Sat May 26 03:32:40 2012 for openWNS by  doxygen 1.5.5