|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| Protocol (std::string name, const boost::filesystem::path &unix_socket_path) | |
| bool | getFileDescriptors (std::vector< int > &fds) |
| in_port_t | getPort (void) const |
| virtual ProtocolCounters & | getCounters () const |
| drizzled::plugin::Client * | getClient (int fd) |
| Public Member Functions inherited from drizzle_plugin::ListenMySQLProtocol | |
| ListenMySQLProtocol (std::string name, const std::string &hostname) | |
| virtual const std::string | getHost () const |
| void | addCountersToTable () |
| Public Member Functions inherited from drizzled::plugin::ListenTcp | |
| ListenTcp (std::string name_arg) | |
| 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_unix_counters |
| Static Public Attributes inherited from drizzle_plugin::ListenMySQLProtocol | |
| static ProtocolCounters | mysql_counters |
Private Attributes | |
| const boost::filesystem::path | _unix_socket_path |
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) |
| Protected Attributes inherited from drizzle_plugin::ListenMySQLProtocol | |
| 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 |
Definition at line 34 of file protocol.h.
|
inline |
Definition at line 37 of file protocol.h.
| drizzle_plugin::mysql_unix_socket_protocol::Protocol::~Protocol | ( | ) |
Definition at line 54 of file protocol.cc.
|
virtual |
This provides a new Client object that can be used by a Session.
| [in] | fd | File descriptor that had activity. |
Reimplemented from drizzle_plugin::ListenMySQLProtocol.
Definition at line 171 of file protocol.cc.
|
inlinevirtual |
Reimplemented from drizzle_plugin::ListenMySQLProtocol.
Definition at line 47 of file protocol.h.
|
virtual |
This will bind the port to the host interfaces. @fds[out] Vector of file descriptors that were bound.
| true | on failure, false on success. |
Reimplemented from drizzled::plugin::ListenTcp.
Definition at line 109 of file protocol.cc.
|
virtual |
Get the port to bind to.
| The | port number. |
Reimplemented from drizzle_plugin::ListenMySQLProtocol.
Definition at line 59 of file protocol.cc.
|
private |
Definition at line 50 of file protocol.h.
|
static |
Definition at line 46 of file protocol.h.