class IfMgrXrlReplicationManager

Class that builds and maintains replicator state for multiple remote targets. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

typedef IfMgrCommandSinkBase::Cmd Cmd

Cmd

 IfMgrXrlReplicationManager (XrlRouter& rtr)

IfMgrXrlReplicationManager

 ~IfMgrXrlReplicationManager ()

~IfMgrXrlReplicationManager

bool  add_mirror (const string& xrl_target_name)

add_mirror

Add a remote mirror. The name of the mirror is added to list of known targets and immediately sent a copy of the configuration tree.

Parameters:

xrl_target_nametarget to be added.

Returns: true on success, false if target already exists.

bool  remove_mirror (const string& xrl_target_name)

remove_mirror

Remove remote mirror.

Parameters:

xrl_target_nametarget to be removed.
void  push (const Cmd& c)

push

Apply command to local configuration tree and forward Xrls to targets to replicate state remotely if application to local tree succeeds.

Reimplemented from IfMgrCommandSinkBase.

void  crank_replicators_queue ()

crank_replicators_queue

Method invoked when it is time to schedule the next Xrl dispatch.

void  crank_replicators_queue_cb ()

crank_replicators_queue_cb

Method invoked when the previous Xrl dispatch has completed.

void  push_manager_queue (IfMgrManagedXrlReplicator* r)

push_manager_queue

Method invoked when a command should be added to the manager's queue.

inline const IfMgrIfTree&  iftree ()

iftree

[const]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:15 2006, using kdoc $.