User Manual, Developers Guide and API Documentation

tcp::Component Class Reference

Offers a TCP service to higher layers. More...

#include <Component.hpp>

Inheritance diagram for tcp::Component:

Inheritance graph
[legend]
Collaboration diagram for tcp::Component:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Component (wns::node::Interface *node, const wns::pyconfig::View &config)
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 ~Component ()
 Is called in Node's destructor.

Private Member Functions

 Component (const Component &)
virtual void doStartup ()
 Setup Component.
Componentoperator= (const Component &)
wns::service::nl::protocolNumber stringToProtocolNumber (std::string _protNr)
 Converting a protocol description from PyConfig to a protocol ID defined in wns::service::nl::protocolNumber.

Private Attributes

wns::service::dll::NotificationdllNotification
wns::service::dll::FlowEstablishmentAndReleasefear
wns::ldk::FlowSeparatorflowSeparator
 The flow separator FU in TCP's FUN.
wns::ldk::fun::Mainfun
 TCP's functional unit network.
HandshakeStrategyInterfacehandshakeStrategy
 Connection control FU within the flow separator's prototype instance.
IPDataHandleripDataHandler
 The notification service provided to the IP layer. All incoming data is forwarded to the dispatcher.
wns::service::nl::ServiceipDataTransmission
 Data transimission service provided by IP layer.
wns::logger::Logger logger
LowerConvergencelowerConvergence
 The bottem functional unit of TCP's FUN.
wns::ldk::fun::SubsubFUN
 This group of functional units is the prototype of the flow separator. For each key (flow id) a new object of the prototype is instantiatedf.
tcp::FlowHandlertcpFlowHandler
 FlowHandler.
ServicetlService
 The service TCP is providing to upper layer.
UpperConvergenceupperConvergence
 The top level functional unit of TCP's FUN.


Detailed Description

Author:
Marc Schinnenburg <msg@comnets.rwth-aachen.de>

Definition at line 56 of file Component.hpp.


Constructor & Destructor Documentation

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

Parameters:
[in] _name The name of this component as used in the Node
[in] _node The Node this Component belongs to

Reimplemented from wns::node::component::Component.

virtual tcp::Component::~Component (  )  [virtual]

Reimplemented from wns::node::component::Component.

tcp::Component::Component ( const Component  )  [private]


Member Function Documentation

virtual void tcp::Component::doStartup (  )  [private, virtual]

virtual void tcp::Component::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.

virtual void tcp::Component::onShutdown (  )  [virtual]

virtual void tcp::Component::onWorldCreated (  )  [virtual]

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

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

Component& tcp::Component::operator= ( const Component  )  [private]

wns::service::nl::protocolNumber tcp::Component::stringToProtocolNumber ( std::string  _protNr  )  [private]


Member Data Documentation

Definition at line 148 of file Component.hpp.

Definition at line 147 of file Component.hpp.

Definition at line 134 of file Component.hpp.

Definition at line 96 of file Component.hpp.

Definition at line 139 of file Component.hpp.

Definition at line 119 of file Component.hpp.

Definition at line 129 of file Component.hpp.

Definition at line 141 of file Component.hpp.

Definition at line 124 of file Component.hpp.

Definition at line 103 of file Component.hpp.

Definition at line 146 of file Component.hpp.

Definition at line 108 of file Component.hpp.

Definition at line 113 of file Component.hpp.


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

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