~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication_services.cc

Re-org'd the replication stuff into slots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
using namespace std;
57
57
using namespace drizzled;
58
58
 
59
 
ReplicationServices replication_services;
60
 
 
61
 
void add_replicator(plugin::CommandReplicator *replicator)
62
 
{
63
 
  replication_services.attachReplicator(replicator);
64
 
}
65
 
 
66
 
void remove_replicator(plugin::CommandReplicator *replicator)
67
 
{
68
 
  replication_services.detachReplicator(replicator);
69
 
}
70
 
 
71
 
void add_applier(plugin::CommandApplier *applier)
72
 
{
73
 
  replication_services.attachApplier(applier);
74
 
}
75
 
 
76
 
void remove_applier(plugin::CommandApplier *applier)
77
 
{
78
 
  replication_services.detachApplier(applier);
79
 
}
80
 
 
81
59
ReplicationServices::ReplicationServices()
82
60
{
83
61
  is_active= false;