#include <service.h>
Public Member Functions | |
| service (kernel::module &module) | |
| ~service () | |
| network::stream * | add_stream (void) |
| void | remove_stream (network::stream *stream) |
| client * | get_client (connection *connection, bool need_handshake) |
| void | yield_client (client *client) |
| void | remove_from_queue (connection *connection) |
Private Member Functions | |
| service (const service &) | |
| service & | operator= (const service &) |
Private Attributes | |
| network::ip::tcp::connection_service | _connection_service |
| network::ip::tcp::listener_service | _listener_service |
| client_service | _client_service |
Definition at line 40 of file service.h.
| scalestack::database_proxy::service::service | ( | kernel::module & | module | ) |
Reimplemented from scalestack::kernel::service.
Definition at line 38 of file service.cc.
| scalestack::database_proxy::service::~service | ( | ) | [virtual] |
Reimplemented from scalestack::kernel::service.
Definition at line 47 of file service.cc.
| scalestack::database_proxy::service::service | ( | const service & | ) | [private] |
Don't allow copying of objects.
| network::stream * scalestack::database_proxy::service::add_stream | ( | void | ) | [virtual] |
See network::stream_service::add_stream().
Implements scalestack::network::stream_service.
Definition at line 51 of file service.cc.
| void scalestack::database_proxy::service::remove_stream | ( | network::stream * | stream | ) |
See network::stream_service::remove_stream().
Definition at line 56 of file service.cc.
| client * scalestack::database_proxy::service::get_client | ( | connection * | connection, | |
| bool | need_handshake | |||
| ) |
Get a client connection to proxy to.
Definition at line 61 of file service.cc.
| void scalestack::database_proxy::service::yield_client | ( | client * | client | ) |
Yield a client to other pending transactions.
Definition at line 66 of file service.cc.
| void scalestack::database_proxy::service::remove_from_queue | ( | connection * | connection | ) |
Erase a connection from the queue.
Definition at line 71 of file service.cc.
Don't allow assignment of objects.
1.6.3