class IfConfigUpdateReporterBase

Base class for propagating update information on from IfConfig. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

When the platform IfConfig updates interfaces it can report updates to an IfConfigUpdateReporter.

enum Update { CREATED, DELETED, CHANGED }

Update

 IfConfigUpdateReporterBase (IfConfigUpdateReplicator& update_replicator)

IfConfigUpdateReporterBase

Constructor for a given replicator.

Parameters:

update_replicatorthe corresponding replicator (IfConfigUpdateReplicator).
 IfConfigUpdateReporterBase (IfConfigUpdateReplicator& update_replicator, const IfTree& observed_iftree)

IfConfigUpdateReporterBase

Constructor for a given replicator and observed tree.

Parameters:

update_replicatorthe corresponding replicator (IfConfigUpdateReplicator).
observed_iftreethe corresponding interface tree (IfTree).
 ~IfConfigUpdateReporterBase ()

~IfConfigUpdateReporterBase

[virtual]

Destructor.

const IfTree&  observed_iftree ()

observed_iftree

[const]

Get a reference to the observed interface tree.

Returns: a reference to the observed interface tree (see @IfTree).

void  add_to_replicator ()

add_to_replicator

Add itself to the replicator (see @IfConfigUpdateReplicator).

void  remove_from_replicator ()

remove_from_replicator

Remove itself from the replicator (see @IfConfigUpdateReplicator).

void  interface_update (const string& ifname, const Update& u)

interface_update

[pure virtual]

void  vif_update (const string& ifname, const string& vifname, const Update& u)

vif_update

[pure virtual]

void  vifaddr4_update (const string& ifname, const string& vifname, const IPv4& addr, const Update& u)

vifaddr4_update

[pure virtual]

void  vifaddr6_update (const string& ifname, const string& vifname, const IPv6& addr, const Update& u)

vifaddr6_update

[pure virtual]

void  updates_completed ()

updates_completed

[pure virtual]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:56 2009, using kdoc 2.0a54+XORP.