pdns-auth  4.1.8
About: PowerDNS Authoritative Nameserver is a versatile nameserver which supports a large number of backends (that can either be plain zone files or be more dynamic in nature).
  Fossies Dox: pdns-auth-4.1.8.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Server Class Reference

#include <webserver.hh>

Inheritance diagram for Server:
Collaboration diagram for Server:

Public Member Functions

 Server (const string &localaddress, int port)
 
virtual ~Server ()
 
std::shared_ptr< Socketaccept ()
 
 Server (const string &localaddress, int port)
 
virtual ~Server ()
 
std::shared_ptr< Socketaccept ()
 

Public Attributes

ComboAddress d_local
 

Protected Attributes

Socket d_server_socket
 

Detailed Description

Definition at line 117 of file webserver.hh.

Constructor & Destructor Documentation

◆ Server() [1/2]

Server::Server ( const string &  localaddress,
int  port 
)
inline

◆ ~Server() [1/2]

virtual Server::~Server ( )
inlinevirtual

Definition at line 125 of file webserver.hh.

◆ Server() [2/2]

Server::Server ( const string &  localaddress,
int  port 
)
inline

◆ ~Server() [2/2]

virtual Server::~Server ( )
inlinevirtual

Definition at line 125 of file webserver.hh.

Member Function Documentation

◆ accept() [1/2]

std::shared_ptr<Socket> Server::accept ( )
inline

Definition at line 129 of file webserver.hh.

References Socket::accept(), and d_server_socket.

Referenced by AsyncServerNewConnectionMT().

◆ accept() [2/2]

std::shared_ptr<Socket> Server::accept ( )
inline

Definition at line 129 of file webserver.hh.

References Socket::accept(), and d_server_socket.

Member Data Documentation

◆ d_local

ComboAddress Server::d_local

Definition at line 125 of file webserver.hh.

Referenced by Server().

◆ d_server_socket

Socket Server::d_server_socket
protected

Definition at line 134 of file webserver.hh.

Referenced by accept(), AsyncServer::asyncWaitForConnections(), and Server().


The documentation for this class was generated from the following file: