User Manual, Developers Guide and API Documentation

lte::upperconvergence::UEUpperConvergence Class Reference

#include <upperconvergence/UE.hpp>

Inheritance diagram for lte::upperconvergence::UEUpperConvergence:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

void establishFlow (wns::service::tl::FlowID flowID, wns::service::qos::QoSClass qosClass)
 Establish a new flow.
void onFlowBuilt (wns::service::tl::FlowID _flowID, wns::service::dll::FlowID _dllFlowID, bool newFlow)
void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &compound)
 Process compounds on uplink.
void registerFlowHandler (wns::service::dll::FlowHandler *flowHandler)
virtual void registerHandler (wns::service::dll::protocolNumber protocol, wns::service::dll::Handler *_dh)
void releaseFlow (wns::service::tl::FlowID flowID)
 Release an existing flow.
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).
 UEUpperConvergence (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)

Private Attributes

lte::controlplane::flowmanagement::IFlowManagerUEflowManager
wns::ldk::fun::FUNfun
dll::ILayer2layer2
wns::ldk::CommandReaderInterfacerlcReader
wns::service::dll::FlowHandlertlFlowHandler


Detailed Description

Definition at line 40 of file UE.hpp.


Constructor & Destructor Documentation

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

Definition at line 45 of file UE.cpp.


Member Function Documentation

void UEUpperConvergence::establishFlow ( wns::service::tl::FlowID  flowID,
wns::service::qos::QoSClass  qosClass 
) [virtual]

Parameters:
[in] _sourcePort Own local port.
[in] _destPort On which port to connect peer.
[in] _peer Own IP address.
[in] _peer On which address to contact peer.

Reimplemented from dll::UTUpperConvergence.

Definition at line 143 of file UE.cpp.

void UEUpperConvergence::onFlowBuilt ( wns::service::tl::FlowID  _flowID,
wns::service::dll::FlowID  _dllFlowID,
bool  newFlow 
)

Definition at line 157 of file UE.cpp.

void UEUpperConvergence::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 58 of file UE.cpp.

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

Override this method to handle incoming compounds.

Reimplemented from dll::UTUpperConvergence.

Definition at line 97 of file UE.cpp.

void UEUpperConvergence::registerFlowHandler ( wns::service::dll::FlowHandler flowHandler  )  [virtual]

Reimplemented from dll::UTUpperConvergence.

Definition at line 136 of file UE.cpp.

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

Reimplemented from dll::UTUpperConvergence.

Definition at line 124 of file UE.cpp.

void UEUpperConvergence::releaseFlow ( wns::service::tl::FlowID  flowID  )  [virtual]

Parameters:
[in] _sourcePort Own local port.
[in] _destPort On which port to connect peer.
[in] _peer Own IP address.
[in] _peer On which address to contact peer.

Reimplemented from dll::UTUpperConvergence.

Definition at line 176 of file UE.cpp.

void UEUpperConvergence::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 71 of file UE.cpp.


Member Data Documentation

Definition at line 88 of file UE.hpp.

Definition at line 82 of file UE.hpp.

Definition at line 86 of file UE.hpp.

Definition at line 84 of file UE.hpp.

Definition at line 90 of file UE.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