#include <null_client.h>
Public Member Functions | |
| virtual int | getFileDescriptor (void) |
| virtual bool | isConnected (void) |
| virtual bool | flush (void) |
| virtual void | close (void) |
| virtual bool | authenticate (void) |
| virtual bool | readCommand (char **packet, uint32_t &packet_length) |
| virtual void | sendOK () |
| virtual void | sendEOF () |
| virtual void | sendError (const drizzled::error_t, const char *) |
| virtual void | sendFields (List< Item > &) |
| virtual void | store (Field *) |
| virtual void | store (void) |
| virtual void | store (int32_t) |
| virtual void | store (uint32_t) |
| virtual void | store (int64_t) |
| virtual void | store (uint64_t) |
| virtual void | store (double, uint32_t, String *) |
| virtual void | store (const type::Time *) |
| virtual void | store (const char *) |
| virtual void | store (const char *, size_t) |
| virtual void | store (str_ref) |
| virtual bool | haveError () |
| virtual bool | wasAborted () |
| void | pushSQL (str_ref arg) |
| virtual Session * | getSession () |
| virtual void | setSession (Session *session_arg) |
| virtual bool | isConsole () const |
| virtual bool | isInteractive () const |
|
virtual catalog::Instance::shared_ptr | catalog () |
Protected Attributes | |
| Session * | session |
Private Types | |
| typedef std::vector< char > | Bytes |
| typedef std::queue< Bytes > | Queue |
Private Attributes | |
| Queue | to_execute |
| bool | is_dead |
| Bytes | packet_buffer |
This class is an empty client implementation for internal used.
Definition at line 34 of file null_client.h.
| virtual bool drizzled::plugin::NullClient::authenticate | ( | void | ) | [inline, virtual] |
Perform handshake and authorize client if needed.
Implements drizzled::plugin::Client.
Definition at line 53 of file null_client.h.
| virtual void drizzled::plugin::NullClient::close | ( | void | ) | [inline, virtual] |
Close the client object.
Implements drizzled::plugin::Client.
Definition at line 52 of file null_client.h.
| virtual bool drizzled::plugin::NullClient::flush | ( | void | ) | [inline, virtual] |
Flush all data that has been buffered with store() methods.
| Boolean | indicating success or failure. |
Implements drizzled::plugin::Client.
Definition at line 51 of file null_client.h.
| virtual int drizzled::plugin::NullClient::getFileDescriptor | ( | void | ) | [inline, virtual] |
Get file descriptor associated with client object.
| File | descriptor that is attached, -1 if none. |
Implements drizzled::plugin::Client.
Definition at line 49 of file null_client.h.
| virtual Session* drizzled::plugin::Client::getSession | ( | ) | [inline, virtual, inherited] |
| virtual bool drizzled::plugin::NullClient::isConnected | ( | void | ) | [inline, virtual] |
Check to see if the client is currently connected.
| Boolean | value representing connected state. |
Implements drizzled::plugin::Client.
Definition at line 50 of file null_client.h.
| virtual bool drizzled::plugin::NullClient::readCommand | ( | char ** | packet, |
| uint32_t & | packet_length | ||
| ) | [inline, virtual] |
Read command from client.
Implements drizzled::plugin::Client.
Definition at line 55 of file null_client.h.
| virtual void drizzled::plugin::NullClient::sendFields | ( | List< Item > & | ) | [inline, virtual] |
Send field list for result set.
Implements drizzled::plugin::Client.
Definition at line 83 of file null_client.h.
| virtual void drizzled::plugin::Client::setSession | ( | Session * | session_arg | ) | [inline, virtual, inherited] |