~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/default_replicator/default_replicator.h

  • Committer: Brian Aker
  • Date: 2009-09-21 23:40:18 UTC
  • mfrom: (1039.5.63 replication)
  • Revision ID: brian@gaz-20090921234018-gd9kqdyigwxtik9z
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
#include <drizzled/server_includes.h>
34
34
#include <drizzled/atomics.h>
35
 
#include <drizzled/plugin/replicator.h>
36
 
#include <drizzled/plugin/applier.h>
 
35
#include <drizzled/plugin/command_replicator.h>
 
36
#include <drizzled/plugin/command_applier.h>
37
37
 
38
38
#include <vector>
39
39
#include <string>
40
40
 
41
 
class DefaultReplicator: public drizzled::plugin::Replicator
 
41
class DefaultReplicator: public drizzled::plugin::CommandReplicator
42
42
{
43
43
public:
44
44
  DefaultReplicator() {}
60
60
   *
61
61
   * @param Command message to be replicated
62
62
   */
63
 
  void replicate(drizzled::plugin::Applier *in_applier, drizzled::message::Command *to_replicate);
 
63
  void replicate(drizzled::plugin::CommandApplier *in_applier, drizzled::message::Command &to_replicate);
64
64
  
65
65
  /** 
66
66
   * Returns whether the default replicator is active.