~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.h

  • Committer: Andrew Hutchings
  • Date: 2010-12-06 19:36:53 UTC
  • mfrom: (1976 staging)
  • mto: This revision was merged to the branch mainline in revision 1991.
  • Revision ID: andrew@linuxjedi.co.uk-20101206193653-l85vryv18jb0yxx8
Merge with trunk

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
 
  const char* getHost(void) const;
44
47
  in_port_t getPort(void) const;
45
48
  static ProtocolCounters *drizzle_counters;
46
49
  virtual ProtocolCounters *getCounters(void) const { return drizzle_counters; }
48
51
 
49
52
 
50
53
} /* namespace drizzle_protocol */
51
 
 
 
54
} /* namespace drizzle_plugin */
 
55
 
52
56
#endif /* PLUGIN_DRIZZLE_PROTOCOL_DRIZZLE_PROTOCOL_H */