#include <conexus/endpointserver.h>
Inheritance diagram for Conexus::EndpointServer:

This is in contrast to the DataServer which generates data as a result of operation.
The canonical example of an EndpointServer is a TCP server which as a result of operation generates accepted TCP connections. Thus, the TCP server is the EndpointServer, while the accepted TCP connections are DataServers.
Public Types | |
| typedef ConexusPointer< EndpointServer > | pointer |
Public Member Functions | |
| virtual void | start () |
| Starts the EndpointServer in a threaded mode. | |
| virtual void | start (bool use_dispatcher) |
| Starts the EndpointServer in a threaded mode and explicitly determines whether a dispatcher will be used, possibly overriding the default value. | |
| virtual void | stop () |
| Stops the EndpointServer. | |
| sigc::signal< void, Endpoint::pointer > | signal_new_endpoint () |
| Connect to this signal to receive notifications of new endpoints created by this endpoint server. | |
| virtual void | start () |
| Starts the EndpointServer in a threaded mode. | |
| virtual void | start (bool use_dispatcher) |
| Starts the EndpointServer in a threaded mode and explicitly determines whether a dispatcher will be used, possibly overriding the default value. | |
| virtual void | stop () |
| Stops the EndpointServer. | |
| sigc::signal< void, Endpoint::pointer > | signal_new_endpoint () |
| Connect to this signal to receive notifications of new endpoints created by this endpoint server. | |
| virtual const std::string & | object_type () |
| Conexus library string type identifier. | |
| virtual void | start () |
| Starts the EndpointServer in a threaded mode. | |
| virtual void | start (bool use_dispatcher) |
| Starts the EndpointServer in a threaded mode and explicitly determines whether a dispatcher will be used, possibly overriding the default value. | |
| virtual void | stop () |
| Stops the EndpointServer. | |
| sigc::signal< void, Endpoint::pointer > | signal_new_endpoint () |
| Connect to this signal to receive notifications of new endpoints created by this endpoint server. | |
| virtual const std::string & | object_type () |
| Conexus library string type identifier. | |
Protected Member Functions | |
| void | queue_endpoint (Endpoint::pointer endpoint) |
| void | emit_endpoints () |
| void | queue_endpoint (Endpoint::pointer endpoint) |
| void | emit_endpoints () |
| void | queue_endpoint (Endpoint::pointer endpoint) |
| void | emit_endpoints () |
Protected Attributes | |
| sigc::signal< void, Endpoint::pointer > | m_signal_new_endpoint |
| sigc::connection | m_dispatcher_connection |
| std::queue< Endpoint::pointer > | m_endpoint_queue |
| Glib::Mutex | m_mutex_signal_endpoint |
| Glib::Mutex | m_mutex_endpoint_queue |
| sigc::signal< void, Endpoint::pointer > | m_signal_new_endpoint |
| std::queue< Endpoint::pointer > | m_endpoint_queue |
| sigc::signal< void, Endpoint::pointer > | m_signal_new_endpoint |
| std::queue< Endpoint::pointer > | m_endpoint_queue |
| void Conexus::EndpointServer::start | ( | ) | [virtual] |
Starts the EndpointServer in a threaded mode.
Whether a dispatcher will be used is determined by the default dispatcher behavior set by Conexus::init() or Conexus::set_use_dispatcher_default().
Reimplemented from Conexus::Server.
| virtual void Conexus::EndpointServer::start | ( | ) | [virtual] |
Starts the EndpointServer in a threaded mode.
Whether a dispatcher will be used is determined by the default dispatcher behavior set by Conexus::init() or Conexus::set_use_dispatcher_default().
Reimplemented from Conexus::Server.
| virtual void Conexus::EndpointServer::start | ( | ) | [virtual] |
Starts the EndpointServer in a threaded mode.
Whether a dispatcher will be used is determined by the default dispatcher behavior set by Conexus::init() or Conexus::set_use_dispatcher_default().
Reimplemented from Conexus::Server.
1.5.1