#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.
|
inlinevirtual |
Perform handshake and authorize client if needed.
Implements drizzled::plugin::Client.
Definition at line 53 of file null_client.h.
|
inlinevirtual |
Close the client object.
Implements drizzled::plugin::Client.
Definition at line 52 of file null_client.h.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtualinherited |
|
inlinevirtual |
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.
|
inlinevirtual |
Read command from client.
Implements drizzled::plugin::Client.
Definition at line 55 of file null_client.h.
Send field list for result set.
Implements drizzled::plugin::Client.
Definition at line 83 of file null_client.h.
|
inlinevirtualinherited |