scalestack::database_proxy::client Class Reference
#include <client.h>
Detailed Description
Definition at line 37 of file client.h.
Member Enumeration Documentation
- Enumerator:
| SERVER_HANDSHAKE_PACKET |
|
| SERVER_HANDSHAKE_FLUSH |
|
| RESULT_PACKET |
|
| RESULT_FLUSH |
|
| COLUMN_PACKET |
|
| COLUMN_FLUSH |
|
| ROW_PACKET |
|
| ROW_FLUSH |
|
Definition at line 102 of file client.h.
Constructor & Destructor Documentation
| scalestack::database_proxy::client::client |
( |
client_service & |
creator |
) |
|
| scalestack::database_proxy::client::client |
( |
const client & |
|
) |
[private] |
Don't allow copying of objects.
Member Function Documentation
Set the connection that uses this client.
Definition at line 48 of file client.cc.
| void scalestack::database_proxy::client::yield |
( |
void |
|
) |
|
Notify client it should be yielded once current request is complete.
Definition at line 66 of file client.cc.
| void scalestack::database_proxy::client::connected |
( |
void |
|
) |
[virtual] |
| size_t scalestack::database_proxy::client::read |
( |
uint8_t * |
buffer, |
|
|
size_t |
size | |
|
) |
| | [virtual] |
| void scalestack::database_proxy::client::continue_write |
( |
void |
|
) |
|
Continue writing to the connection from the read buffer.
Definition at line 86 of file client.cc.
| void scalestack::database_proxy::client::flush_write |
( |
void |
|
) |
[virtual] |
| void scalestack::database_proxy::client::error |
( |
void |
|
) |
|
On error, notify attached connection to shutdown.
Definition at line 96 of file client.cc.
| void scalestack::database_proxy::client::run |
( |
void |
|
) |
[virtual] |
| client& scalestack::database_proxy::client::operator= |
( |
const client & |
|
) |
[private] |
Don't allow assignment of objects.
| size_t scalestack::database_proxy::client::_connection_write |
( |
void |
|
) |
[private] |
Field Documentation
The documentation for this class was generated from the following files: