User Manual, Developers Guide and API Documentation

applications::session::client::TLBinding Class Reference

#include <session/client/TLBinding.hpp>

Inheritance diagram for applications::session::client::TLBinding:

Inheritance graph
[legend]
Collaboration diagram for applications::session::client::TLBinding:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void initBinding ()
virtual void onConnectionClosed (wns::service::tl::Connection *_connection)
 Called when an existing connection was disconnected.
virtual void onConnectionClosedByPeer (wns::service::tl::Connection *_connection)
virtual void onConnectionEstablished (wns::service::nl::Address _sourceIpAddress, wns::service::tl::Connection *_newConnection)
 Called when a connection is successfully established.
virtual void onConnectionLost (wns::service::tl::Connection *_connection)
 Called when a connection is lost, i.e. resulting from timeouts or error recovery.
virtual void registerComponent (applications::node::component::Component *_component, int _sessionIndex)
virtual void registerSession (int _i, applications::session::Session *_session)
virtual void releaseBinding (wns::service::tl::Connection *_connection)
virtual void startListening (wns::service::tl::Service *_tlService)
 TLBinding (const wns::pyconfig::View &_pyco)
virtual ~TLBinding ()

Protected Member Functions

virtual std::string printAddress () const

Protected Attributes

wns::service::nl::FQDN destinationDomainName
wns::service::tl::Port destinationPort
wns::service::nl::FQDN domainName
wns::service::tl::Port listenPort
wns::logger::Logger logger
 The Logger instance.
wns::pyconfig::View pyco
wns::service::qos::QoSClass qosClass
applications::session::Sessionsession
wns::service::tl::ServicetlService


Detailed Description

Definition at line 46 of file TLBinding.hpp.


Constructor & Destructor Documentation

TLBinding::TLBinding ( const wns::pyconfig::View _pyco  ) 

Definition at line 40 of file TLBinding.cpp.

TLBinding::~TLBinding (  )  [virtual]

Definition at line 53 of file TLBinding.cpp.


Member Function Documentation

void TLBinding::initBinding (  )  [virtual]

Implements applications::session::Binding.

Definition at line 83 of file TLBinding.cpp.

void TLBinding::onConnectionClosed ( wns::service::tl::Connection _disconnectedConnection  )  [virtual]

Parameters:
[in] _disconnectedConnection The connection that was disconnected.

Implements wns::service::tl::ConnectionHandler.

Definition at line 101 of file TLBinding.cpp.

void TLBinding::onConnectionClosedByPeer ( wns::service::tl::Connection _connection  )  [virtual]

Implements wns::service::tl::ConnectionHandler.

Definition at line 107 of file TLBinding.cpp.

void TLBinding::onConnectionEstablished ( wns::service::nl::Address  _sourceIP,
wns::service::tl::Connection _newConnection 
) [virtual]

As response to Service::openConnection or Service::listenOnPort when a connection is established by another component.

Parameters:
[in] _sourceIP IP address of entity requesting the connection
[in] _newConnection Connection that was created.

Implements wns::service::tl::ConnectionHandler.

Definition at line 69 of file TLBinding.cpp.

void TLBinding::onConnectionLost ( wns::service::tl::Connection _lostConnection  )  [virtual]

Parameters:
[in] _lostConnection Connection that is lost.

Implements wns::service::tl::ConnectionHandler.

Definition at line 113 of file TLBinding.cpp.

std::string TLBinding::printAddress (  )  const [protected, virtual]

Implements applications::session::Binding.

Definition at line 119 of file TLBinding.cpp.

void TLBinding::registerComponent ( applications::node::component::Component _component,
int  _sessionIndex 
) [virtual]

Implements applications::session::Binding.

Definition at line 61 of file TLBinding.cpp.

void TLBinding::registerSession ( int  _i,
applications::session::Session _session 
) [virtual]

Implements applications::session::Binding.

Definition at line 77 of file TLBinding.cpp.

void TLBinding::releaseBinding ( wns::service::tl::Connection _connection  )  [virtual]

Implements applications::session::Binding.

Definition at line 89 of file TLBinding.cpp.

void TLBinding::startListening ( wns::service::tl::Service _tlService  )  [virtual]

Definition at line 95 of file TLBinding.cpp.


Member Data Documentation

Definition at line 93 of file TLBinding.hpp.

Definition at line 95 of file TLBinding.hpp.

Definition at line 91 of file TLBinding.hpp.

Definition at line 87 of file TLBinding.hpp.

Definition at line 106 of file TLBinding.hpp.

Definition at line 89 of file TLBinding.hpp.

Definition at line 99 of file TLBinding.hpp.

Definition at line 97 of file TLBinding.hpp.

Definition at line 85 of file TLBinding.hpp.


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

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