User Manual, Developers Guide and API Documentation

lte::controlplane::flowmanagement::flowhandler::FlowHandler Class Reference

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

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

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

void calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
 Default calculateSizes implementation.
void closeFlow (wns::service::dll::FlowID flowID)
virtual void createFlow (wns::service::dll::FlowID)
virtual void destroyFlow (wns::service::dll::FlowID)
virtual bool doIsAccepting (const wns::ldk::CompoundPtr &compound) const
void doSendData (const wns::ldk::CompoundPtr &)
void doWakeup ()
 FlowHandler (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
 Constructor to be used by FUNConfigCreator.
virtual void onAssociated (wns::service::dll::UnicastAddress userAdr, wns::service::dll::UnicastAddress dstAdr)
 AssociationObserver interface.
virtual void onDisassociated (wns::service::dll::UnicastAddress userAdr, wns::service::dll::UnicastAddress dstAdr)
 AssociationObserver interface.
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual ~FlowHandler ()
 Destructor.

Protected Attributes

dll::services::control::AssociationassociationService
Bit commandSize
lte::controlplane::flowmanagement::FlowManagerflowManager
std::list< std::string > flowSeparatorNames
std::list
< wns::ldk::FlowSeparator * > 
flowSeparators
wns::ldk::fun::FUNfun
dll::ILayer2layer2
wns::logger::Logger logger
wns::ldk::FlowGatelowerFlowGate
lte::macg::MACgmacg
wns::ldk::CommandReaderInterfacerlcReader


Detailed Description

Definition at line 106 of file FlowHandler.hpp.


Constructor & Destructor Documentation

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

Definition at line 42 of file FlowHandler.cpp.

FlowHandler::~FlowHandler (  )  [virtual]

Definition at line 69 of file FlowHandler.cpp.


Member Function Documentation

void FlowHandler::calculateSizes ( const wns::ldk::CommandPool commandPool,
Bit commandPoolSize,
Bit dataSize 
) const [virtual]

The default implementation delegates calculation to upper functional units, modifying the result to include the size of the provided Command.

Reimplemented from wns::ldk::CommandTypeSpecifier< T >.

Definition at line 131 of file FlowHandler.cpp.

void FlowHandler::closeFlow ( wns::service::dll::FlowID  flowID  ) 

Definition at line 164 of file FlowHandler.cpp.

virtual void lte::controlplane::flowmanagement::flowhandler::FlowHandler::createFlow ( wns::service::dll::FlowID   )  [inline, virtual]

void FlowHandler::destroyFlow ( wns::service::dll::FlowID  flowID  )  [virtual]

Definition at line 142 of file FlowHandler.cpp.

bool FlowHandler::doIsAccepting ( const wns::ldk::CompoundPtr compound  )  const [virtual]

void FlowHandler::doSendData ( const wns::ldk::CompoundPtr  ) 

Definition at line 115 of file FlowHandler.cpp.

void FlowHandler::doWakeup (  ) 

Definition at line 127 of file FlowHandler.cpp.

void FlowHandler::onAssociated ( wns::service::dll::UnicastAddress  userAdr,
wns::service::dll::UnicastAddress  dstAdr 
) [virtual]

Definition at line 172 of file FlowHandler.cpp.

void FlowHandler::onDisassociated ( wns::service::dll::UnicastAddress  userAdr,
wns::service::dll::UnicastAddress  dstAdr 
) [virtual]

Definition at line 180 of file FlowHandler.cpp.

void FlowHandler::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.

Reimplemented in lte::controlplane::flowmanagement::flowhandler::FlowHandlerBS, and lte::controlplane::flowmanagement::flowhandler::FlowHandlerUT.

Definition at line 74 of file FlowHandler.cpp.


Member Data Documentation

Definition at line 161 of file FlowHandler.hpp.

Definition at line 163 of file FlowHandler.hpp.

Definition at line 160 of file FlowHandler.hpp.

Definition at line 165 of file FlowHandler.hpp.

Definition at line 166 of file FlowHandler.hpp.

Definition at line 156 of file FlowHandler.hpp.

Definition at line 162 of file FlowHandler.hpp.

Definition at line 164 of file FlowHandler.hpp.

Definition at line 158 of file FlowHandler.hpp.

Definition at line 159 of file FlowHandler.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