~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/protocol.h

  • Committer: Brian Aker
  • Date: 2009-06-26 06:25:57 UTC
  • mfrom: (971.3.55 eday-dev)
  • Revision ID: brian@gaz-20090626062557-ibc9n6hch1ol1c0x
MergeĀ Eric

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 */