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

Public Member Functions

 JsonServer (in_port_t port_arg)
bool init ()
bool createThreads (uint32_t num_threads)
Public Member Functions inherited from drizzled::plugin::Daemon
 Daemon (std::string name_arg)
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
virtual void shutdownPlugin ()
virtual void prime ()
virtual void startup (drizzled::Session &)
void activate ()
void deactivate ()
bool isActive () const
const std::string & getName () const
void setModule (module::Module *module)
const std::string & getTypeName () const
virtual bool removeLast () const
const std::string & getModuleName () const
Public Member Functions inherited from drizzle_plugin::json_server::HTTPServer
 HTTPServer ()
 ~HTTPServer ()

Private Attributes

in_port_t _port
WakeupPipe wakeup_pipe_
FileDescriptor listen_fd_
std::vector< JsonWorkerPtr > workers_

Additional Inherited Members

Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector
Static Public Member Functions inherited from drizzled::plugin::Daemon
static bool addPlugin (Daemon &)
static void removePlugin (Daemon &)
Protected Member Functions inherited from drizzle_plugin::json_server::HTTPServer
int BindSocket (const char *address, int port)

Detailed Description

Definition at line 649 of file json_server.cc.

Constructor & Destructor Documentation

◆ JsonServer()

drizzle_plugin::json_server::JsonServer::JsonServer ( in_port_t port_arg)
inline

Definition at line 652 of file json_server.cc.

◆ ~JsonServer()

drizzle_plugin::json_server::JsonServer::~JsonServer ( )
inline

Definition at line 697 of file json_server.cc.

Member Function Documentation

◆ createThreads()

bool drizzle_plugin::json_server::JsonServer::createThreads ( uint32_t num_threads)
inline

Definition at line 675 of file json_server.cc.

◆ init()

bool drizzle_plugin::json_server::JsonServer::init ( )
inline

Definition at line 657 of file json_server.cc.

Member Data Documentation

◆ _port

in_port_t drizzle_plugin::json_server::JsonServer::_port
private

Definition at line 707 of file json_server.cc.

◆ listen_fd_

FileDescriptor drizzle_plugin::json_server::JsonServer::listen_fd_
private

Definition at line 709 of file json_server.cc.

◆ wakeup_pipe_

WakeupPipe drizzle_plugin::json_server::JsonServer::wakeup_pipe_
private

Definition at line 708 of file json_server.cc.

◆ workers_

std::vector<JsonWorkerPtr> drizzle_plugin::json_server::JsonServer::workers_
private

Definition at line 710 of file json_server.cc.


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