DUNE: Uniform Navigational Environment  2.6.0-rc1
Transports::HTTP::Server Class Reference

Public Member Functions

 Server (int port, unsigned threads, RequestHandler &handler)
 
 ~Server (void)
 
void poll (double timeout)
 

Constructor & Destructor Documentation

Transports::HTTP::Server::Server ( int  port,
unsigned  threads,
RequestHandler handler 
)

Constructor.

Parameters
portlistening port.
threadsnumber of worker threads.
handlerHTTP request handler.
Transports::HTTP::Server::~Server ( void  )

Destructor.

Member Function Documentation

void Transports::HTTP::Server::poll ( double  timeout)
Collaboration diagram for Transports::HTTP::Server:
Collaboration graph