User Manual, Developers Guide and API Documentation

lte::upperconvergence::ENBUpperConvergence Class Reference

#include <upperconvergence/eNB.hpp>

Inheritance diagram for lte::upperconvergence::ENBUpperConvergence:

Inheritance graph
[legend]
Collaboration diagram for lte::upperconvergence::ENBUpperConvergence:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void deleteFlow (wns::service::dll::FlowID flowID)
 ENBUpperConvergence (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
void onFlowBuilt (wns::service::tl::FlowID _flowID, wns::service::dll::FlowID _dllFlowID)
void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &compound)
 Process compounds on uplink.
virtual void registerHandler (wns::service::dll::protocolNumber protocol, wns::service::dll::Handler *_dh)
void releaseFlow (wns::service::dll::FlowID flowID)
wns::service::dll::FlowID requestFlow (lte::helper::TransactionID _transactionId, wns::service::dll::UnicastAddress utAddress)
void sendData (const wns::service::dll::UnicastAddress &_peer, const wns::osi::PDUPtr &pdu, wns::service::dll::protocolNumber protocol, wns::service::dll::FlowID _dllFlowID=0)
 Deliver data to other peer component(s).

Private Attributes

lte::main::rang::IFlowManagementflowManagementRang
dll::ILayer2layer2
wns::ldk::CommandReaderInterfacerlcReader


Detailed Description

Definition at line 39 of file eNB.hpp.


Constructor & Destructor Documentation

ENBUpperConvergence::ENBUpperConvergence ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 45 of file eNB.cpp.


Member Function Documentation

void ENBUpperConvergence::deleteFlow ( wns::service::dll::FlowID  flowID  ) 

Definition at line 134 of file eNB.cpp.

void lte::upperconvergence::ENBUpperConvergence::onFlowBuilt ( wns::service::tl::FlowID  _flowID,
wns::service::dll::FlowID  _dllFlowID 
)

void ENBUpperConvergence::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 dll::UpperConvergence.

Definition at line 54 of file eNB.cpp.

void ENBUpperConvergence::processIncoming ( const wns::ldk::CompoundPtr compound  )  [virtual]

Override this method to handle incoming compounds.

Reimplemented from dll::APUpperConvergence.

Definition at line 88 of file eNB.cpp.

void ENBUpperConvergence::registerHandler ( wns::service::dll::protocolNumber  protocol,
wns::service::dll::Handler _dh 
) [virtual]

Reimplemented from dll::APUpperConvergence.

Definition at line 63 of file eNB.cpp.

void ENBUpperConvergence::releaseFlow ( wns::service::dll::FlowID  flowID  ) 

Definition at line 126 of file eNB.cpp.

wns::service::dll::FlowID ENBUpperConvergence::requestFlow ( lte::helper::TransactionID  _transactionId,
wns::service::dll::UnicastAddress  utAddress 
)

Definition at line 115 of file eNB.cpp.

void ENBUpperConvergence::sendData ( const wns::service::dll::UnicastAddress macAddress,
const wns::osi::PDUPtr data,
wns::service::dll::protocolNumber  protocol,
wns::service::dll::FlowID  _dllFlowID = 0 
) [virtual]

Parameters:
[in] macAddress Destination component(s) where data is to be delivered.
[in] data Protocol Data Unit that is to be transported.

Reimplemented from dll::UpperConvergence.

Definition at line 75 of file eNB.cpp.


Member Data Documentation

Definition at line 80 of file eNB.hpp.

Definition at line 76 of file eNB.hpp.

Definition at line 78 of file eNB.hpp.


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

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