#include <null_client.h>
Public Member Functions | |
| virtual int | getFileDescriptor (void) |
| virtual bool | isConnected (void) |
| virtual bool | isReading (void) |
| virtual bool | isWriting (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 (void) |
| virtual void | sendEOF (void) |
| virtual void | sendError (const drizzled::error_t, const char *) |
| virtual bool | sendFields (List< Item > *) |
| virtual bool | store (Field *) |
| virtual bool | store (void) |
| virtual bool | store (int32_t) |
| virtual bool | store (uint32_t) |
| virtual bool | store (int64_t) |
| virtual bool | store (uint64_t) |
| virtual bool | store (double, uint32_t, String *) |
| virtual bool | store (const type::Time *) |
| virtual bool | store (const char *) |
| virtual bool | store (const char *, size_t) |
| virtual bool | store (const std::string &) |
| virtual bool | haveMoreData (void) |
| virtual bool | haveError (void) |
| virtual bool | wasAborted (void) |
| void | pushSQL (const std::string &arg) |
| virtual Session * | getSession (void) |
| virtual void | setSession (Session *session_arg) |
| virtual bool | isConsole () const |
| virtual bool | isInteractive () const |
| virtual bool | isAdmin () 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 36 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 57 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 56 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 55 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 51 of file null_client.h.
| virtual Session* drizzled::plugin::Client::getSession | ( | void | ) | [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 52 of file null_client.h.
| virtual bool drizzled::plugin::NullClient::isReading | ( | void | ) | [inline, virtual] |
Check to see if the client is actively reading.
| Boolean | value representing reading state. |
Implements drizzled::plugin::Client.
Definition at line 53 of file null_client.h.
| virtual bool drizzled::plugin::NullClient::isWriting | ( | void | ) | [inline, virtual] |
Check to see if the client is actively writing.
| Boolean | value representing writing state. |
Implements drizzled::plugin::Client.
Definition at line 54 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 59 of file null_client.h.
Send field list for result set.
Implements drizzled::plugin::Client.
Definition at line 93 of file null_client.h.
| virtual void drizzled::plugin::Client::setSession | ( | Session * | session_arg | ) | [inline, virtual, inherited] |