User Manual, Developers Guide and API Documentation

tcp::FlowHandler Class Reference

DLL FlowHandler interface. More...

#include <FlowHandler.hpp>

Inheritance diagram for tcp::FlowHandler:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FlowHandler ()
 Constructor.
void onFlowChanged (wns::service::tl::FlowID flowID, int _dllFlowID)
 Receive notificiation about flow-changes from lower DLL layer. (new DllFlowID at HandOver).
void onFlowEstablished (wns::service::tl::FlowID flowID, int _dllFlowID)
 Receive notificiation about flow establishment from lower DLL layer.
void setTLService (tcp::Service *_tlService)
 ~FlowHandler ()
 Destructor.

Public Attributes

wns::logger::Logger logger
std::string serviceName

Private Attributes

tcp::ServicetlService


Detailed Description

DLL components need a callback to notify the establishment of a flow to higher layers. Users of wns::service::dll::FlowEstablishmentAndRelease can register such a callback by calling wns::service::dll::FlowEstablishmentAndRelease::registerFlowHandler and passing an implementation of wns::service::dll::FlowHandler

Definition at line 34 of file FlowHandler.hpp.


Constructor & Destructor Documentation

FlowHandler::FlowHandler (  ) 

Definition at line 19 of file FlowHandler.cpp.

tcp::FlowHandler::~FlowHandler (  )  [inline, virtual]

Reimplemented from wns::service::dll::FlowHandler.

Definition at line 49 of file FlowHandler.hpp.


Member Function Documentation

void FlowHandler::onFlowChanged ( wns::service::tl::FlowID  flowID,
int  _dllFlowID 
) [virtual]

Implements wns::service::dll::FlowHandler.

Definition at line 30 of file FlowHandler.cpp.

void FlowHandler::onFlowEstablished ( wns::service::tl::FlowID  flowID,
int  _dllFlowID 
) [virtual]

Implements wns::service::dll::FlowHandler.

Definition at line 24 of file FlowHandler.cpp.

void FlowHandler::setTLService ( tcp::Service _tlService  ) 

Definition at line 36 of file FlowHandler.cpp.


Member Data Documentation

Definition at line 40 of file FlowHandler.hpp.

Definition at line 39 of file FlowHandler.hpp.

Definition at line 68 of file FlowHandler.hpp.


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

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