drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzle_plugin::json_server::HTTPServer Class Reference
Inheritance diagram for drizzle_plugin::json_server::HTTPServer:
[legend]

Public Member Functions

 HTTPServer ()
 ~HTTPServer ()

Protected Member Functions

int BindSocket (const char *address, int port)

Detailed Description

Definition at line 43 of file http_server.h.

Constructor & Destructor Documentation

◆ HTTPServer()

drizzle_plugin::json_server::HTTPServer::HTTPServer ( )
inline

Constructor

Definition at line 49 of file http_server.h.

◆ ~HTTPServer()

drizzle_plugin::json_server::HTTPServer::~HTTPServer ( )
inline

Destructor

Definition at line 53 of file http_server.h.

Member Function Documentation

◆ BindSocket()

int drizzle_plugin::json_server::HTTPServer::BindSocket ( const char * address,
int port )
protected

Bind socket to a address and port.

Parameters
addressa constant character pointer.
porta integer.
Returns
a non-negative file descriptor on success or -1 on failure.

Definition at line 29 of file http_server.cc.


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