dll::RANG Class Reference
RANG Radio Access Network Gateway.
More...
#include <RANG.hpp>
List of all members.
|
Public Member Functions |
virtual
wns::service::dll::UnicastAddress | getMACAddress () const |
| | RANG (wns::node::Interface *, const wns::pyconfig::View &) |
| virtual void | registerFlowHandler (wns::service::dll::FlowHandler *) |
| virtual void | registerIRuleControl (wns::service::dll::IRuleControl *) |
| virtual | ~RANG () |
|
|
| wns::service::dll::UnicastDataTransmission * | getAccessPointFor (wns::service::dll::UnicastAddress _sourceMACAddress) |
| bool | knowsAddress (wns::service::dll::UnicastAddress _sourceMACAddress) |
| | Modified Handler Interface for APs.
|
| virtual void | onData (const wns::osi::PDUPtr &_data, wns::service::dll::UnicastAddress _sourceMACAddress, wns::service::dll::UnicastDataTransmission *_ap, wns::service::dll::FlowID _dllFlowID=wns::service::dll::NoFlowID) |
| virtual void | onData (const wns::osi::PDUPtr &_data, wns::service::dll::FlowID _dllFlowID=wns::service::dll::NoFlowID) |
| | standard onData method
|
| void | removeAddress (wns::service::dll::UnicastAddress _sourceMACAddress, wns::service::dll::UnicastDataTransmission *_ap) |
| void | updateAPLookUp (wns::service::dll::UnicastAddress _sourceMACAddress, wns::service::dll::UnicastDataTransmission *_ap) |
|
|
| virtual void | onNodeCreated () |
| | Called by the parent node after all components of the parent node have been created.
|
| virtual void | onShutdown () |
| | Called by the parent node after simulation end event occured.
|
| virtual void | onWorldCreated () |
| | Called by the parent node after all nodes have been setup and all components have executed onNodeCreated().
|
|
|
| virtual void | registerHandler (wns::service::dll::protocolNumber protocol, wns::service::dll::Handler *_dh) |
|
|
| virtual void | sendData (const wns::service::dll::UnicastAddress &_peer, const wns::osi::PDUPtr &_data, wns::service::dll::protocolNumber protocol, wns::service::dll::FlowID _dllFlowID=wns::service::dll::NoFlowID) |
| | Deliver data to other peer component(s).
|
Protected Member Functions |
| virtual void | doStartup () |
| | Virtual backend of startup().
|
Protected Attributes |
| AccessPointLookup | accessPointLookup |
Private Types |
typedef
wns::container::Registry
< wns::service::dll::UnicastAddress,
wns::service::dll::UnicastDataTransmission * > | AccessPointLookup |
typedef
wns::container::Registry
< wns::service::dll::protocolNumber,
wns::service::dll::Handler * > | DataHandlerRegistry |
| | Needed for demultiplexing of upper layer protocols.
|
Private Attributes |
| wns::pyconfig::View | config |
| DataHandlerRegistry | dataHandlerRegistry |
| | Registry for datahandlers. Each datahandler is select by the protocol number.
|
| bool | learnAPfromIncomingData |
| wns::logger::Logger | logger |
Detailed Description
This is the gateway to the core network for all APs. The
RANG is connected to the Network Layer (IP) of the server. The APs don't have an IP component, they terminate with the
Layer2. So, the communication between the server and an AP goes via the
RANG. The
RANG has the funtion of a router, i.e. it forwards outgoing packets to the correct AP's DLL. From the Viewpoint of the server's NL, it behaves like a DLL itself
Definition at line 38 of file RANG.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
| virtual dll::RANG::~RANG |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| void RANG::doStartup |
( |
|
) |
[protected, virtual] |
Modified Handler Interface for APs. It gets two parameters in addition to the PDUPtr to keep the RANG's routing table up to date.
Definition at line 142 of file RANG.cpp.
| void RANG::onNodeCreated |
( |
|
) |
[virtual] |
- Note:
- Intra-Node dependencies like connecting components within the node to each other must be handled here. It is forbidden to try to resolve dependencies to other nodes here. Not all nodes have been setup yet.
Implements wns::node::component::Interface.
Definition at line 108 of file RANG.cpp.
| void RANG::onShutdown |
( |
|
) |
[virtual] |
| void RANG::onWorldCreated |
( |
|
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: