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

Public Member Functions

 JsonWorker (int listen_fd, int wakeup_fd)
void start ()
void join ()

Private Member Functions

 JsonWorker (const JsonWorker &)
JsonWorker & operator= (const JsonWorker &)

Static Private Member Functions

static void registerRoutes (struct evhttp *httpd)

Private Attributes

event_base_ptr base_
evhttp_ptr httpd_
struct event wakeup_event_
drizzled::thread_ptr thread_

Detailed Description

Definition at line 566 of file json_server.cc.

Constructor & Destructor Documentation

◆ JsonWorker()

drizzle_plugin::json_server::JsonWorker::JsonWorker ( int listen_fd,
int wakeup_fd )
inline

Definition at line 569 of file json_server.cc.

◆ ~JsonWorker()

drizzle_plugin::json_server::JsonWorker::~JsonWorker ( )
inline

Definition at line 600 of file json_server.cc.

Member Function Documentation

◆ join()

void drizzle_plugin::json_server::JsonWorker::join ( )
inline

Definition at line 610 of file json_server.cc.

◆ registerRoutes()

void drizzle_plugin::json_server::JsonWorker::registerRoutes ( struct evhttp * httpd)
inlinestaticprivate

Definition at line 617 of file json_server.cc.

◆ start()

void drizzle_plugin::json_server::JsonWorker::start ( )
inline

Definition at line 605 of file json_server.cc.

Member Data Documentation

◆ base_

event_base_ptr drizzle_plugin::json_server::JsonWorker::base_
private

Definition at line 638 of file json_server.cc.

◆ httpd_

evhttp_ptr drizzle_plugin::json_server::JsonWorker::httpd_
private

Definition at line 639 of file json_server.cc.

◆ thread_

drizzled::thread_ptr drizzle_plugin::json_server::JsonWorker::thread_
private

Definition at line 641 of file json_server.cc.

◆ wakeup_event_

struct event drizzle_plugin::json_server::JsonWorker::wakeup_event_
private

Definition at line 640 of file json_server.cc.


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