User Manual, Developers Guide and API Documentation

lte::controlplane::associationHandler::AssociationHandler Class Reference

#include <controlplane/associationHandler/AssociationHandler.hpp>

Inheritance diagram for lte::controlplane::associationHandler::AssociationHandler:

Inheritance graph
[legend]
Collaboration diagram for lte::controlplane::associationHandler::AssociationHandler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AssociationHandler (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
 Constructor to be used by FUNConfigCreator.
void calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
 Default calculateSizes implementation.
virtual void disassociationOnTimeout (const wns::service::dll::UnicastAddress, const std::string)
bool doIsAccepting (const wns::ldk::CompoundPtr &) const
void doSendData (const wns::ldk::CompoundPtr &)
void doWakeup ()
virtual int getMyDuplexGroup (int frameNr, bool isDL)=0
virtual int getPeerDuplexGroup (wns::service::dll::UnicastAddress user)=0
void notifyOnAssociated (wns::service::dll::UnicastAddress, wns::service::dll::UnicastAddress)
void notifyOnDisassociated (wns::service::dll::UnicastAddress, wns::service::dll::UnicastAddress)
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual ~AssociationHandler ()
 Destructor.

Protected Attributes

dll::services::control::AssociationassociationService
Bit commandSize
 assumed Size of command header
lte::helper::SwitchConnectorconnector
std::list< std::string > flowSeparatorNames
 lists of flowseparators in the mode
std::list
< wns::ldk::FlowSeparator * > 
flowSeparators
struct {
   wns::ldk::IConnectorReceptacle *   bchBuffer
   wns::ldk::IConnectorReceptacle *   cpDispatcher
   lte::controlplane::flowmanagement::IFlowSwitching *   flowManager
   wns::ldk::IConnectorReceptacle *   rachDispatcher
friends
dll::ILayer2layer2
wns::logger::Logger logger
 my Logger
wns::ldk::CommandReaderInterfacemacgReader
wns::ldk::CommandReaderInterfacerlcReader

Private Attributes

wns::ldk::fun::FUNfun


Detailed Description

Definition at line 109 of file AssociationHandler.hpp.


Constructor & Destructor Documentation

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

Definition at line 39 of file AssociationHandler.cpp.

AssociationHandler::~AssociationHandler (  )  [virtual]

Definition at line 74 of file AssociationHandler.cpp.


Member Function Documentation

void AssociationHandler::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 128 of file AssociationHandler.cpp.

virtual void lte::controlplane::associationHandler::AssociationHandler::disassociationOnTimeout ( const wns::service::dll::UnicastAddress  ,
const std::string   
) [inline, virtual]

bool AssociationHandler::doIsAccepting ( const wns::ldk::CompoundPtr  )  const

Definition at line 118 of file AssociationHandler.cpp.

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

Definition at line 112 of file AssociationHandler.cpp.

void AssociationHandler::doWakeup (  ) 

Definition at line 124 of file AssociationHandler.cpp.

virtual int lte::controlplane::associationHandler::AssociationHandler::getMyDuplexGroup ( int  frameNr,
bool  isDL 
) [pure virtual]

virtual int lte::controlplane::associationHandler::AssociationHandler::getPeerDuplexGroup ( wns::service::dll::UnicastAddress  user  )  [pure virtual]

void AssociationHandler::notifyOnAssociated ( wns::service::dll::UnicastAddress  user,
wns::service::dll::UnicastAddress  dst 
)

Definition at line 139 of file AssociationHandler.cpp.

void AssociationHandler::notifyOnDisassociated ( wns::service::dll::UnicastAddress  user,
wns::service::dll::UnicastAddress  dst 
)

Definition at line 150 of file AssociationHandler.cpp.

void AssociationHandler::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::associationHandler::AssociationHandlerBS, and lte::controlplane::associationHandler::AssociationHandlerUT.

Definition at line 80 of file AssociationHandler.cpp.


Member Data Documentation

Definition at line 173 of file AssociationHandler.hpp.

Definition at line 162 of file AssociationHandler.hpp.

Definition at line 178 of file AssociationHandler.hpp.

Definition at line 175 of file AssociationHandler.hpp.

Definition at line 164 of file AssociationHandler.hpp.

Definition at line 165 of file AssociationHandler.hpp.

Definition at line 181 of file AssociationHandler.hpp.

Definition at line 182 of file AssociationHandler.hpp.

Definition at line 157 of file AssociationHandler.hpp.

Definition at line 171 of file AssociationHandler.hpp.

Definition at line 185 of file AssociationHandler.hpp.

Definition at line 168 of file AssociationHandler.hpp.

Definition at line 163 of file AssociationHandler.hpp.

Definition at line 169 of file AssociationHandler.hpp.


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

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