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


Public Member Functions | |
| virtual void | closeConnection (wns::service::tl::Connection *_connection) |
| Called by higher layer to instantly release a connection to a peer node. | |
| virtual void | listenOnPort (wns::service::tl::Port _port, wns::service::tl::ConnectionHandler *_ch) |
| Called by higher layer to open a port for incoming connections. The provided connection handler is stored at the global Routing instance for the local IP address and the provided port. On first call the node IP address is registered at the Routing instance. | |
| virtual void | openConnection (wns::service::tl::Port _port, wns::service::nl::FQDN _source, wns::service::nl::FQDN _peerInstance, wns::service::qos::QoSClass _qosClass, wns::service::tl::ConnectionHandler *_ch) |
| Called by higher layer to instantly establish a connection to a peer node. | |
| UDP (const wns::pyconfig::View &) | |
| virtual | ~UDP () |
Private Attributes | |
| wns::events::scheduler::Interface * | eventscheduler |
| The global event scheduler used to schedule the PDU transmission end events. | |
| wns::logger::Logger | logger |
| The logger for debug output. | |
| wns::service::tl::PortPool * | portPool |
| The pool of ports used to draw a port for a new outgoing connection. | |
| wns::pyconfig::View | pyco |
| The Python configuration. | |
| bool | registered |
| Flag determining if node already registered its IP address at the global Routing instance. | |
Definition at line 42 of file UDP.hpp.
| UDP::UDP | ( | const wns::pyconfig::View & | _pyco | ) |
| void UDP::closeConnection | ( | wns::service::tl::Connection * | _connection | ) | [virtual] |
| void UDP::listenOnPort | ( | wns::service::tl::Port | _port, | |
| wns::service::tl::ConnectionHandler * | _ch | |||
| ) | [virtual] |
| void UDP::openConnection | ( | wns::service::tl::Port | _port, | |
| wns::service::nl::FQDN | _source, | |||
| wns::service::nl::FQDN | _peerInstance, | |||
| wns::service::qos::QoSClass | _qosClass, | |||
| wns::service::tl::ConnectionHandler * | _ch | |||
| ) | [virtual] |
wns::logger::Logger simpletl::UDP::logger [private] |
wns::pyconfig::View simpletl::UDP::pyco [private] |
bool simpletl::UDP::registered [private] |
1.5.5