#include <server.h>
wibble::net::TCPServer::TCPServer |
( |
) | |
|
virtual wibble::net::TCPServer::~TCPServer |
( |
) | |
|
|
virtual |
int wibble::net::TCPServer::accept_loop |
( |
) | |
|
Loop accepting connections on the socket, until interrupted by a signal in stop_signals.
- Returns
- the signal number that stopped the loop
virtual void wibble::net::TCPServer::handle_client |
( |
int |
sock, |
|
|
const std::string & |
peer_hostname, |
|
|
const std::string & |
peer_hostaddr, |
|
|
const std::string & |
peer_port |
|
) |
| |
|
pure virtual |
static void wibble::net::TCPServer::signal_handler |
( |
int |
sig) | |
|
|
staticprotected |
void wibble::net::TCPServer::signal_install |
( |
) | |
|
|
protected |
void wibble::net::TCPServer::signal_setup |
( |
) | |
|
|
protected |
void wibble::net::TCPServer::signal_uninstall |
( |
) | |
|
|
protected |
int wibble::net::TCPServer::last_signal |
|
staticprotected |
std::vector<int> wibble::net::TCPServer::stop_signals |
The documentation for this struct was generated from the following file: