User Manual, Developers Guide and API Documentation

ip::tunnel::TunnelEntryComponent Class Reference

Tunnel Entries. More...

#include <tunnel/TunnelEntryComponent.hpp>

Inheritance diagram for ip::tunnel::TunnelEntryComponent:

Inheritance graph
[legend]
Collaboration diagram for ip::tunnel::TunnelEntryComponent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual
wns::service::dll::UnicastAddress 
getMACAddress () const
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 sendData (const wns::service::dll::UnicastAddress &macAddress, const wns::osi::PDUPtr &data, wns::service::dll::protocolNumber protocol, int _dllFlowID)
 TunnelEntryComponent (wns::node::Interface *_node, const wns::pyconfig::View &_pyco)
virtual ~TunnelEntryComponent ()

Private Member Functions

virtual void doStartup ()
 Virtual backend of startup().

Private Attributes

wns::service::nl::ServiceipService
wns::logger::Logger log
 The logger for this component.
wns::service::nl::Address tunnelEntryAddress
wns::service::nl::Address tunnelExitAddress


Detailed Description

Configuration Class:
ip.Tunnel.TunnelEntryComponent

Definition at line 43 of file TunnelEntryComponent.hpp.


Constructor & Destructor Documentation

TunnelEntryComponent::TunnelEntryComponent ( wns::node::Interface _node,
const wns::pyconfig::View _pyco 
)

Definition at line 38 of file TunnelEntryComponent.cpp.

TunnelEntryComponent::~TunnelEntryComponent (  )  [virtual]

Definition at line 55 of file TunnelEntryComponent.cpp.


Member Function Documentation

void TunnelEntryComponent::doStartup (  )  [private, virtual]

Implements wns::node::component::Interface.

Definition at line 46 of file TunnelEntryComponent.cpp.

wns::service::dll::UnicastAddress TunnelEntryComponent::getMACAddress (  )  const [virtual]

void TunnelEntryComponent::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 60 of file TunnelEntryComponent.cpp.

void TunnelEntryComponent::onShutdown (  )  [virtual]

Implements wns::node::component::Interface.

Definition at line 74 of file TunnelEntryComponent.cpp.

void TunnelEntryComponent::onWorldCreated (  )  [virtual]

Note:
Resolve Inter-Node dependencies here. There are no restrictions on what you do here.

Implements wns::node::component::Interface.

Definition at line 69 of file TunnelEntryComponent.cpp.

void TunnelEntryComponent::sendData ( const wns::service::dll::UnicastAddress macAddress,
const wns::osi::PDUPtr data,
wns::service::dll::protocolNumber  protocol,
int  _dllFlowID 
) [virtual]

Definition at line 79 of file TunnelEntryComponent.cpp.


Member Data Documentation

Definition at line 78 of file TunnelEntryComponent.hpp.

Definition at line 89 of file TunnelEntryComponent.hpp.

Definition at line 81 of file TunnelEntryComponent.hpp.

Definition at line 84 of file TunnelEntryComponent.hpp.


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

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