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.

inline const IfMgrIfTree&  iftree ()

iftree

[const]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:24 2004, using kdoc $.