|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| ListenMySQLProtocol (std::string name, const std::string &hostname) | |
| virtual const std::string | getHost () const |
| virtual in_port_t | getPort () const |
| virtual drizzled::plugin::Client * | getClient (int fd) |
| virtual ProtocolCounters & | getCounters () const |
| void | addCountersToTable () |
| Public Member Functions inherited from drizzled::plugin::ListenTcp | |
| ListenTcp (std::string name_arg) | |
| virtual bool | getFileDescriptors (std::vector< int > &) |
| Public Member Functions inherited from drizzled::plugin::Listen | |
| Listen (std::string name_arg) | |
| std::vector< ListenCounter * > & | getListenCounters () |
| Public Member Functions inherited from drizzled::plugin::Plugin | |
| Plugin (const std::string &name, const std::string &type_name) | |
| virtual void | shutdownPlugin () |
| virtual void | prime () |
| virtual void | startup (drizzled::Session &) |
| void | activate () |
| void | deactivate () |
| bool | isActive () const |
| const std::string & | getName () const |
| void | setModule (module::Module *module) |
| const std::string & | getTypeName () const |
| virtual bool | removeLast () const |
| const std::string & | getModuleName () const |
Static Public Attributes | |
| static ProtocolCounters | mysql_counters |
Protected Attributes | |
| const std::string | _hostname |
| Protected Attributes inherited from drizzled::plugin::ListenTcp | |
| uint32_t | accept_error_count |
| Protected Attributes inherited from drizzled::plugin::Listen | |
| std::vector< ListenCounter * > | counters |
Additional Inherited Members | |
| Public Types inherited from drizzled::plugin::Plugin | |
| typedef std::pair< const std::string, const std::string > | map_key |
| typedef std::unique_ptr< plugin::Plugin, deleter_fn > | owned_ptr |
| typedef std::map< const map_key, owned_ptr > | map |
| typedef std::vector< Plugin * > | vector |
| Static Public Member Functions inherited from drizzled::plugin::Listen | |
| static ListenVector & | getListenProtocols () |
| static bool | addPlugin (Listen &) |
| static void | removePlugin (Listen &) |
| static bool | setup (void) |
| static plugin::Client * | serveConnections () |
| static plugin::Client * | getNullClient () |
| static void | shutdown () |
| Protected Member Functions inherited from drizzled::plugin::ListenTcp | |
| int | acceptTcp (int fd) |
Definition at line 48 of file mysql_protocol.h.
|
inline |
Definition at line 51 of file mysql_protocol.h.
| void drizzle_plugin::ListenMySQLProtocol::addCountersToTable | ( | ) |
Definition at line 70 of file mysql_protocol.cc.
|
virtual |
This provides a new Client object that can be used by a Session.
| [in] | fd | File descriptor that had activity. |
Implements drizzled::plugin::Listen.
Reimplemented in drizzle_plugin::drizzle_protocol::ListenDrizzleProtocol, and drizzle_plugin::mysql_unix_socket_protocol::Protocol.
Definition at line 87 of file mysql_protocol.cc.
|
inlinevirtual |
Definition at line 59 of file mysql_protocol.h.
|
virtual |
Get the host address to bind to.
| The | host address. |
Reimplemented from drizzled::plugin::ListenTcp.
Definition at line 77 of file mysql_protocol.cc.
|
virtual |
Get the port to bind to.
| The | port number. |
Implements drizzled::plugin::ListenTcp.
Reimplemented in drizzle_plugin::drizzle_protocol::ListenDrizzleProtocol, and drizzle_plugin::mysql_unix_socket_protocol::Protocol.
Definition at line 82 of file mysql_protocol.cc.
|
protected |
Definition at line 62 of file mysql_protocol.h.
|
static |
Definition at line 58 of file mysql_protocol.h.