User Manual, Developers Guide and API Documentation

wns::service::tl::Service Class Reference

tl service specification.

#include <service/tl/Service.hpp>

Inheritance diagram for wns::service::tl::Service:

Inheritance graph
[legend]
Collaboration diagram for wns::service::tl::Service:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void closeConnection (Connection *_connection)=0
 Close an opened connection.
virtual void listenOnPort (Port _port, ConnectionHandler *_ch)=0
 Open passive connection and listen for incoming connections.
virtual void openConnection (Port _port, wns::service::nl::FQDN _source, wns::service::nl::FQDN _peer, wns::service::qos::QoSClass _qosClass, ConnectionHandler *_ch)=0
 Open a new connection.


Detailed Description

Definition at line 46 of file Service.hpp.


Member Function Documentation

virtual void wns::service::tl::Service::closeConnection ( Connection _connection  )  [pure virtual]

Parameters:
[in] _connection Connection to close.

Implemented in simpletl::TCP, simpletl::UDP, and tcp::Service.

virtual void wns::service::tl::Service::listenOnPort ( Port  _port,
ConnectionHandler _ch 
) [pure virtual]

Parameters:
[in] _port On which port to listen.
[in] _ch ConnectionHandler to report incoming connections to.

Implemented in simpletl::TCP, simpletl::UDP, and tcp::Service.

virtual void wns::service::tl::Service::openConnection ( Port  _port,
wns::service::nl::FQDN  _source,
wns::service::nl::FQDN  _peer,
wns::service::qos::QoSClass  _qosClass,
ConnectionHandler _ch 
) [pure virtual]

Parameters:
[in] _port On which port to contact peer.
[in] _peer On which address to contact peer.
[in] _ch ConnectionHandler to report to.

Implemented in simpletl::TCP, simpletl::UDP, and tcp::Service.


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

Generated on Sun May 27 03:33:06 2012 for openWNS by  doxygen 1.5.5