~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.h

  • Committer: Monty Taylor
  • Date: 2010-12-05 07:48:35 UTC
  • mfrom: (1964.2.22 rip-plugin-sysvar)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101205074835-hppjgjaaq93t6vdc
Merge Monty: plugin_sysvar removal work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "plugin/mysql_protocol/mysql_protocol.h"
31
31
 
 
32
namespace drizzle_plugin
 
33
{
32
34
namespace drizzle_protocol
33
35
{
34
36
 
35
37
class ListenDrizzleProtocol: public ListenMySQLProtocol
36
38
{
37
39
public:
38
 
  ListenDrizzleProtocol(std::string name_arg, bool using_mysql41_protocol_arg):
39
 
    ListenMySQLProtocol(name_arg, using_mysql41_protocol_arg)
 
40
  ListenDrizzleProtocol(std::string name, 
 
41
                        const std::string &bind_address,
 
42
                        bool using_mysql41_protocol):
 
43
    ListenMySQLProtocol(name, bind_address, using_mysql41_protocol)
40
44
  { }
41
45
 
42
46
  ~ListenDrizzleProtocol();
43
47
 
44
 
  const char* getHost(void) const;
45
48
  in_port_t getPort(void) const;
46
49
};
47
50
 
48
51
 
49
52
} /* namespace drizzle_protocol */
50
 
 
 
53
} /* namespace drizzle_plugin */
 
54
 
51
55
#endif /* PLUGIN_DRIZZLE_PROTOCOL_DRIZZLE_PROTOCOL_H */