User Manual, Developers Guide and API Documentation

lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT Class Reference

#include <controlplane/flowmanagement/flowhandler/FlowHandlerUT.hpp>

Inheritance diagram for lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT:

Inheritance graph
[legend]
Collaboration diagram for lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void createFlow (wns::service::dll::FlowID flowID)
virtual bool doIsAccepting (const wns::ldk::CompoundPtr &) const
virtual void doOnData (const wns::ldk::CompoundPtr &compound)
 FlowHandlerUT (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
void flowReq (lte::helper::TransactionID _transactionId, wns::service::dll::UnicastAddress _destinationAddress, wns::service::dll::FlowID oldflowID, wns::service::qos::QoSClass qosClass)
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual void onTimeout ()
 Your callback. Implement this.
void releaseFlow (wns::service::dll::FlowID flowID)
virtual ~FlowHandlerUT ()

Private Member Functions

void createFlow_ack (wns::service::dll::FlowID _flowID, wns::service::dll::UnicastAddress _destinationAddress) const
void createFlow_req (lte::helper::TransactionID _transactionId, wns::service::dll::UnicastAddress _destinationAddress, wns::service::dll::FlowID oldflowID, wns::service::qos::QoSClass qosClass) const
void createFlowReleaseReq (wns::service::dll::FlowID flowID)
void flowReleased (wns::service::dll::FlowID flowID)

Private Attributes

std::string commandname
wns::container::Registry
< wns::service::dll::FlowID,
wns::service::dll::UnicastAddress
FlowIDOutToDestOut
lte::controlplane::flowmanagement::FlowManagerUTflowManagerUT
wns::ldk::fun::FUNfun
double timeout
dll::ILayer2utLayer2


Detailed Description

Definition at line 43 of file FlowHandlerUT.hpp.


Constructor & Destructor Documentation

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

Definition at line 46 of file FlowHandlerUT.cpp.

virtual lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT::~FlowHandlerUT (  )  [inline, virtual]

Definition at line 50 of file FlowHandlerUT.hpp.


Member Function Documentation

void FlowHandlerUT::createFlow ( wns::service::dll::FlowID  flowID  )  [virtual]

Reimplemented from lte::controlplane::flowmanagement::flowhandler::FlowHandler.

Definition at line 74 of file FlowHandlerUT.cpp.

void FlowHandlerUT::createFlow_ack ( wns::service::dll::FlowID  _flowID,
wns::service::dll::UnicastAddress  _destinationAddress 
) const [private]

Definition at line 172 of file FlowHandlerUT.cpp.

void FlowHandlerUT::createFlow_req ( lte::helper::TransactionID  _transactionId,
wns::service::dll::UnicastAddress  _destinationAddress,
wns::service::dll::FlowID  oldflowID,
wns::service::qos::QoSClass  qosClass 
) const [private]

Definition at line 133 of file FlowHandlerUT.cpp.

void FlowHandlerUT::createFlowReleaseReq ( wns::service::dll::FlowID  flowID  )  [private]

Definition at line 209 of file FlowHandlerUT.cpp.

virtual bool lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT::doIsAccepting ( const wns::ldk::CompoundPtr  )  const [inline, virtual]

Reimplemented from lte::controlplane::flowmanagement::flowhandler::FlowHandler.

Definition at line 59 of file FlowHandlerUT.hpp.

void FlowHandlerUT::doOnData ( const wns::ldk::CompoundPtr compound  )  [virtual]

Definition at line 81 of file FlowHandlerUT.cpp.

void FlowHandlerUT::flowReleased ( wns::service::dll::FlowID  flowID  )  [private]

Definition at line 255 of file FlowHandlerUT.cpp.

void FlowHandlerUT::flowReq ( lte::helper::TransactionID  _transactionId,
wns::service::dll::UnicastAddress  _destinationAddress,
wns::service::dll::FlowID  oldflowID,
wns::service::qos::QoSClass  qosClass 
)

Definition at line 127 of file FlowHandlerUT.cpp.

void FlowHandlerUT::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 lte::controlplane::flowmanagement::flowhandler::FlowHandler.

Definition at line 56 of file FlowHandlerUT.cpp.

void FlowHandlerUT::onTimeout (  )  [virtual]

The deriver is forced to implement this method. It gets called, whenever the timer fires.

Implements wns::events::CanTimeout.

Definition at line 120 of file FlowHandlerUT.cpp.

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

Definition at line 248 of file FlowHandlerUT.cpp.


Member Data Documentation

Definition at line 97 of file FlowHandlerUT.hpp.

Definition at line 102 of file FlowHandlerUT.hpp.

Definition at line 101 of file FlowHandlerUT.hpp.

Reimplemented from lte::controlplane::flowmanagement::flowhandler::FlowHandler.

Definition at line 99 of file FlowHandlerUT.hpp.

Definition at line 96 of file FlowHandlerUT.hpp.

Definition at line 100 of file FlowHandlerUT.hpp.


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

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