User Manual, Developers Guide and API Documentation

lte::controlplane::associationHandler::AssociationHandlerUT Class Reference

#include <controlplane/associationHandler/AssociationHandlerUT.hpp>

Inheritance diagram for lte::controlplane::associationHandler::AssociationHandlerUT:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

void associateTo (wns::service::dll::UnicastAddress rapAdr)
 AssociationHandlerUT (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
void belowThreshold (wns::service::dll::UnicastAddress destination)
void bestRAP (wns::service::dll::UnicastAddress destination)
void disassociate (wns::service::dll::UnicastAddress rapAdr)
virtual void doOnData (const wns::ldk::CompoundPtr &)
int getMyDuplexGroup (int frameNr, bool isDL)
int getPeerDuplexGroup (wns::service::dll::UnicastAddress user)
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual void onTimeout ()
 Your callback. Implement this.
void switchAssociationTo (wns::service::dll::UnicastAddress rapAdr)
virtual ~AssociationHandlerUT ()

Private Member Functions

void associate (wns::service::dll::UnicastAddress destination)
void createAssociation_req (wns::service::dll::UnicastAddress destination) const
void createDisassociation_req (wns::service::dll::UnicastAddress target) const

Private Attributes

lte::controlplane::AssociationsProxyUTassociationsProxy
int duplexGroup
wns::service::dll::UnicastAddress scheduledRAP
double timeout


Detailed Description

Definition at line 45 of file AssociationHandlerUT.hpp.


Constructor & Destructor Documentation

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

Definition at line 51 of file AssociationHandlerUT.cpp.

virtual lte::controlplane::associationHandler::AssociationHandlerUT::~AssociationHandlerUT (  )  [inline, virtual]

Definition at line 54 of file AssociationHandlerUT.hpp.


Member Function Documentation

void AssociationHandlerUT::associate ( wns::service::dll::UnicastAddress  destination  )  [private]

Definition at line 353 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::associateTo ( wns::service::dll::UnicastAddress  rapAdr  )  [virtual]

void AssociationHandlerUT::belowThreshold ( wns::service::dll::UnicastAddress  destination  ) 

Definition at line 260 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::bestRAP ( wns::service::dll::UnicastAddress  destination  ) 

Definition at line 251 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::createAssociation_req ( wns::service::dll::UnicastAddress  destination  )  const [private]

Definition at line 274 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::createDisassociation_req ( wns::service::dll::UnicastAddress  target  )  const [private]

Definition at line 309 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::disassociate ( wns::service::dll::UnicastAddress  rapAdr  )  [virtual]

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

Definition at line 89 of file AssociationHandlerUT.cpp.

int AssociationHandlerUT::getMyDuplexGroup ( int  frameNr,
bool  isDL 
) [virtual]

int AssociationHandlerUT::getPeerDuplexGroup ( wns::service::dll::UnicastAddress  user  )  [virtual]

void AssociationHandlerUT::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::associationHandler::AssociationHandler.

Definition at line 63 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::onTimeout (  )  [virtual]

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

Implements wns::events::CanTimeout.

Definition at line 177 of file AssociationHandlerUT.cpp.

void AssociationHandlerUT::switchAssociationTo ( wns::service::dll::UnicastAddress  rapAdr  )  [virtual]


Member Data Documentation

Definition at line 92 of file AssociationHandlerUT.hpp.

Definition at line 100 of file AssociationHandlerUT.hpp.

Definition at line 94 of file AssociationHandlerUT.hpp.

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