~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/protocol.h

  • Committer: Nathan Williams
  • Date: 2009-06-26 19:37:44 UTC
  • mfrom: (1076 staging)
  • mto: This revision was merged to the branch mainline in revision 1082.
  • Revision ID: nathanlws@gmail.com-20090626193744-i9zek83am2craqz6
Merged trunk, resolved conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
  virtual bool store(const char *from, size_t length)= 0;
91
91
};
92
92
 
93
 
class ProtocolFactory
94
 
{
95
 
  std::string name;
96
 
public:
97
 
  ProtocolFactory(std::string name_arg): name(name_arg) {}
98
 
  ProtocolFactory(const char *name_arg): name(name_arg) {}
99
 
  virtual ~ProtocolFactory() {}
100
 
  virtual Protocol *operator()(void)= 0;
101
 
  std::string getName() {return name;}
102
 
};
103
 
 
104
93
#endif /* DRIZZLED_PLUGIN_PROTOCOL_H */