User Manual, Developers Guide and API Documentation

lte::controlplane::flowmanagement::FlowManager Class Reference

#include <controlplane/flowmanagement/FlowManager.hpp>

Inheritance diagram for lte::controlplane::flowmanagement::FlowManager:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef
wns::container::Registry
< wns::service::dll::UnicastAddress,
ControlPlaneFlowIDs
ControlPlaneFlowIdTable
typedef std::list
< wns::service::dll::FlowID
FlowIdList
typedef
wns::container::Registry
< wns::service::dll::FlowID,
wns::service::dll::UnicastAddress
FlowIDTable
typedef
wns::container::Registry
< wns::service::dll::FlowID,
wns::service::qos::QoSClass
FlowIDToQoSTable
typedef
wns::container::Registry
< wns::service::dll::FlowID,
wns::service::dll::FlowID
SwitchingTable

Public Member Functions

virtual void buildFlow (wns::service::tl::FlowID flowID, wns::service::qos::QoSClass qosClass)
void closeUpperFlow (wns::service::dll::FlowID flowID)
void closeUpperFlows (wns::service::dll::UnicastAddress userAdr)
virtual int countFlows (wns::service::dll::UnicastAddress utAddress) const
 return the number of registered flows to/from a user
virtual int countFlows () const
 return the number of registered flows
void deleteAllFlowSeparators (wns::service::dll::UnicastAddress utAddress)
void deleteAllUpperFlows (wns::service::dll::UnicastAddress bsAdr)
void deleteFlowSeparator (wns::service::dll::FlowID flowID)
virtual void deleteFlowsForUT (wns::service::dll::UnicastAddress utAddress)
void deletePreservedUser (wns::service::dll::UnicastAddress userAdr)
virtual void deleteSwitchingTableForUT (wns::service::dll::UnicastAddress utAddress)
virtual void flowBuilt (lte::helper::TransactionID)
 FlowManager (wns::ldk::ControlServiceRegistry *csr, const wns::pyconfig::View &config)
wns::service::dll::FlowID getBCHFlowID ()
virtual wns::service::dll::FlowID getFlowIDin (wns::service::dll::FlowID flowIDout)
virtual wns::service::dll::FlowID getFlowIDout (wns::service::dll::FlowID flowIDin)
virtual FlowIdList getFlowsForUT (wns::service::dll::UnicastAddress utAddress)
virtual std::string getFlowTable () const
virtual
wns::service::dll::UnicastAddress 
getUTForFlow (wns::service::dll::FlowID flowID)
bool hasFlowIDout (wns::service::dll::FlowID flowIDout)
bool hasPreserved (wns::service::dll::FlowID flowID) const
bool hasPreserved (wns::service::dll::UnicastAddress userAdr) const
void insertFlowIDToUT (wns::service::dll::FlowID flowID, wns::service::dll::UnicastAddress utAdress)
bool isAwaitingAck (wns::service::dll::FlowID _flowID)
virtual bool isControlPlaneFlowID (wns::service::dll::UnicastAddress peerAddress, wns::service::dll::FlowID flowID) const
virtual bool isControlPlaneFlowID (wns::service::dll::FlowID flowID, ControlPlaneFlowIDs flowIDs) const
virtual bool isValidFlow (const wns::ldk::ConstKeyPtr &key) const
 from flowInfoProvider
virtual bool isValidFlowId (wns::service::dll::FlowID flowID) const
virtual void onAssociated (wns::service::dll::UnicastAddress userAdr, wns::service::dll::UnicastAddress dstAdr)=0
 called by FlowHandler
virtual void onDisassociated (wns::service::dll::UnicastAddress userAdr, wns::service::dll::UnicastAddress dstAdr)=0
 called by FlowHandler
void openUpperFlow (wns::service::dll::FlowID flowID)
virtual std::string printControlPlaneFlowIDs (ControlPlaneFlowIDs flowIDs) const
void registerPreservedFlowID (wns::service::dll::FlowID flowID)
void registerPreservedUser (wns::service::dll::UnicastAddress userAdr)
virtual ~FlowManager ()

Public Attributes

ControlPlaneFlowIdTable controlPlaneFlowIdsForPeer
wns::container::Registry
< wns::service::dll::FlowID,
wns::service::tl::FlowID
DllFlowIDToTlFlowID
SwitchingTable FlowIDInToFlowIDOut
FlowIDTable FlowIDToUT
wns::container::Registry
< wns::service::tl::FlowID,
wns::service::dll::FlowID
TlFlowIDToDllFlowID
wns::container::Registry
< lte::helper::TransactionID,
lte::controlplane::flowmanagement::flowhandler::FlowHandlerBS * > 
TransactionIdOutToFlowHandler
wns::container::Registry
< lte::helper::TransactionID,
lte::helper::TransactionID
TransactionIdOutToIn
wns::container::Registry
< lte::helper::TransactionID,
wns::service::dll::FlowID
TransactionIDToOldFlowID
wns::container::Registry
< lte::helper::TransactionID,
wns::service::qos::QoSClass
TransactionIDToQoSClass
wns::container::Registry
< lte::helper::TransactionID,
wns::service::tl::FlowID
TransactionIDToTlFlowID

Protected Member Functions

lte::helper::TransactionID drawNewTransactionID () const

Protected Attributes

wns::ldk::FlowGatearqFlowGate
wns::service::dll::FlowID bchFlowID_
wns::container::Pool< intbroadcastFlowIDPool
wns::container::Pool< intflowIDPool
std::list< std::string > flowSeparatorNames
std::list
< wns::ldk::FlowSeparator * > 
flowSeparators
dll::ILayer2layer2
wns::logger::Logger logger
std::list
< IFlowSwitching::ModeName
myModes
bool plainDisassociation
std::set
< wns::service::dll::FlowID
preservedFlowIDs
std::set
< wns::service::dll::UnicastAddress
preservedUsers
wns::ldk::CommandReaderInterfacerlcReader
std::string separator
wns::distribution::DistributiontransactionIdDistribution
wns::ldk::FlowGateupperFlowGate
wns::ldk::tools::SynchronizerupperSynchronizer

Private Attributes

wns::service::dll::FlowID dllflowID


Detailed Description

Definition at line 50 of file FlowManager.hpp.


Member Typedef Documentation

Definition at line 64 of file FlowManager.hpp.

Definition at line 55 of file FlowManager.hpp.

Definition at line 60 of file FlowManager.hpp.

Definition at line 62 of file FlowManager.hpp.

Definition at line 58 of file FlowManager.hpp.


Constructor & Destructor Documentation

FlowManager::FlowManager ( wns::ldk::ControlServiceRegistry csr,
const wns::pyconfig::View config 
)

Definition at line 58 of file FlowManager.cpp.

FlowManager::~FlowManager (  )  [virtual]

Definition at line 92 of file FlowManager.cpp.


Member Function Documentation

virtual void lte::controlplane::flowmanagement::FlowManager::buildFlow ( wns::service::tl::FlowID  flowID,
wns::service::qos::QoSClass  qosClass 
) [inline, virtual]

void FlowManager::closeUpperFlow ( wns::service::dll::FlowID  flowID  ) 

Definition at line 472 of file FlowManager.cpp.

void FlowManager::closeUpperFlows ( wns::service::dll::UnicastAddress  userAdr  ) 

Definition at line 452 of file FlowManager.cpp.

int FlowManager::countFlows ( wns::service::dll::UnicastAddress  utAddress  )  const [virtual]

Definition at line 358 of file FlowManager.cpp.

int FlowManager::countFlows (  )  const [virtual]

Definition at line 349 of file FlowManager.cpp.

void FlowManager::deleteAllFlowSeparators ( wns::service::dll::UnicastAddress  utAddress  ) 

Definition at line 398 of file FlowManager.cpp.

void FlowManager::deleteAllUpperFlows ( wns::service::dll::UnicastAddress  bsAdr  ) 

Definition at line 418 of file FlowManager.cpp.

void FlowManager::deleteFlowSeparator ( wns::service::dll::FlowID  flowID  ) 

Definition at line 384 of file FlowManager.cpp.

void FlowManager::deleteFlowsForUT ( wns::service::dll::UnicastAddress  utAddress  )  [virtual]

Definition at line 232 of file FlowManager.cpp.

void FlowManager::deletePreservedUser ( wns::service::dll::UnicastAddress  userAdr  ) 

Definition at line 528 of file FlowManager.cpp.

void FlowManager::deleteSwitchingTableForUT ( wns::service::dll::UnicastAddress  utAddress  )  [virtual]

Definition at line 369 of file FlowManager.cpp.

lte::helper::TransactionID FlowManager::drawNewTransactionID (  )  const [protected]

Definition at line 164 of file FlowManager.cpp.

virtual void lte::controlplane::flowmanagement::FlowManager::flowBuilt ( lte::helper::TransactionID   )  [inline, virtual]

Reimplemented in lte::controlplane::flowmanagement::FlowManagerBS.

Definition at line 86 of file FlowManager.hpp.

FlowID FlowManager::getBCHFlowID (  ) 

Definition at line 180 of file FlowManager.cpp.

FlowID FlowManager::getFlowIDin ( wns::service::dll::FlowID  flowIDout  )  [virtual]

FlowID FlowManager::getFlowIDout ( wns::service::dll::FlowID  flowIDin  )  [virtual]

FlowManager::FlowIdList FlowManager::getFlowsForUT ( wns::service::dll::UnicastAddress  utAddress  )  [virtual]

Definition at line 277 of file FlowManager.cpp.

std::string FlowManager::getFlowTable (  )  const [virtual]

wns::service::dll::UnicastAddress FlowManager::getUTForFlow ( wns::service::dll::FlowID  flowID  )  [virtual]

Definition at line 251 of file FlowManager.cpp.

bool FlowManager::hasFlowIDout ( wns::service::dll::FlowID  flowIDout  ) 

Definition at line 296 of file FlowManager.cpp.

bool FlowManager::hasPreserved ( wns::service::dll::FlowID  flowID  )  const

Definition at line 505 of file FlowManager.cpp.

bool FlowManager::hasPreserved ( wns::service::dll::UnicastAddress  userAdr  )  const

Definition at line 498 of file FlowManager.cpp.

void FlowManager::insertFlowIDToUT ( wns::service::dll::FlowID  flowID,
wns::service::dll::UnicastAddress  utAdress 
)

Definition at line 224 of file FlowManager.cpp.

bool lte::controlplane::flowmanagement::FlowManager::isAwaitingAck ( wns::service::dll::FlowID  _flowID  ) 

bool FlowManager::isControlPlaneFlowID ( wns::service::dll::UnicastAddress  peerAddress,
wns::service::dll::FlowID  flowID 
) const [virtual]

Definition at line 149 of file FlowManager.cpp.

bool FlowManager::isControlPlaneFlowID ( wns::service::dll::FlowID  flowID,
ControlPlaneFlowIDs  flowIDs 
) const [virtual]

Definition at line 131 of file FlowManager.cpp.

bool FlowManager::isValidFlow ( const wns::ldk::ConstKeyPtr key  )  const [virtual]

Implements wns::ldk::flowseparator::FlowInfoProvider.

Definition at line 315 of file FlowManager.cpp.

bool FlowManager::isValidFlowId ( wns::service::dll::FlowID  flowID  )  const [virtual]

Definition at line 327 of file FlowManager.cpp.

virtual void lte::controlplane::flowmanagement::FlowManager::onAssociated ( wns::service::dll::UnicastAddress  userAdr,
wns::service::dll::UnicastAddress  dstAdr 
) [pure virtual]

virtual void lte::controlplane::flowmanagement::FlowManager::onDisassociated ( wns::service::dll::UnicastAddress  userAdr,
wns::service::dll::UnicastAddress  dstAdr 
) [pure virtual]

void FlowManager::openUpperFlow ( wns::service::dll::FlowID  flowID  ) 

Definition at line 485 of file FlowManager.cpp.

std::string FlowManager::printControlPlaneFlowIDs ( ControlPlaneFlowIDs  flowIDs  )  const [virtual]

Definition at line 114 of file FlowManager.cpp.

void FlowManager::registerPreservedFlowID ( wns::service::dll::FlowID  flowID  ) 

Definition at line 520 of file FlowManager.cpp.

void FlowManager::registerPreservedUser ( wns::service::dll::UnicastAddress  userAdr  ) 

Definition at line 513 of file FlowManager.cpp.


Member Data Documentation

Definition at line 216 of file FlowManager.hpp.

Definition at line 219 of file FlowManager.hpp.

Definition at line 209 of file FlowManager.hpp.

Definition at line 149 of file FlowManager.hpp.

Definition at line 221 of file FlowManager.hpp.

Definition at line 139 of file FlowManager.hpp.

Definition at line 152 of file FlowManager.hpp.

Definition at line 208 of file FlowManager.hpp.

Definition at line 153 of file FlowManager.hpp.

Definition at line 212 of file FlowManager.hpp.

Definition at line 213 of file FlowManager.hpp.

Definition at line 203 of file FlowManager.hpp.

Definition at line 207 of file FlowManager.hpp.

Definition at line 211 of file FlowManager.hpp.

Definition at line 204 of file FlowManager.hpp.

Definition at line 218 of file FlowManager.hpp.

Definition at line 217 of file FlowManager.hpp.

Definition at line 205 of file FlowManager.hpp.

Definition at line 210 of file FlowManager.hpp.

Definition at line 133 of file FlowManager.hpp.

Definition at line 206 of file FlowManager.hpp.

Definition at line 147 of file FlowManager.hpp.

Definition at line 143 of file FlowManager.hpp.

Definition at line 130 of file FlowManager.hpp.

Definition at line 136 of file FlowManager.hpp.

Definition at line 127 of file FlowManager.hpp.

Definition at line 215 of file FlowManager.hpp.

Definition at line 214 of file FlowManager.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