![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <service/tl/Service.hpp>


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. | |
Definition at line 46 of file Service.hpp.
| virtual void wns::service::tl::Service::closeConnection | ( | Connection * | _connection | ) | [pure virtual] |
| [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] |
| [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] |
| [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.
1.5.5