class IfConfigUpdateReplicator

A class to replicate update notifications to multiple reporters. More...

Definition#include <ifconfig.hh>
InheritsIfConfigUpdateReporterBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Members


Detailed Description

typedef IfConfigUpdateReporterBase::Update Update

Update

 ~IfConfigUpdateReplicator ()

~IfConfigUpdateReplicator

[virtual]

bool  add_reporter (IfConfigUpdateReporterBase* rp)

add_reporter

Add a reporter instance to update notification list.

Returns: true on success, false if object already receiving updates or could not be added.

bool  remove_reporter (IfConfigUpdateReporterBase* rp)

remove_reporter

Remove a reporter instance from update notification list.

Returns: true on success, false if instance is not on the receiving updates list.

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

interface_update

Forward interface update notification to reporter instances on update notification list.

Reimplemented from IfConfigUpdateReporterBase.

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

vif_update

Forward virtual interface update notification to reporter instances on update notification list.

Reimplemented from IfConfigUpdateReporterBase.

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

vifaddr4_update

Forward virtual interface address update notification to reporter instances on update notification list.

Reimplemented from IfConfigUpdateReporterBase.

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

vifaddr6_update

Forward virtual interface address update notification to reporter instances on update notification list.

Reimplemented from IfConfigUpdateReporterBase.

list<IfConfigUpdateReporterBase*> _reporters

_reporters

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:57 2003, using kdoc 2.0a54+XORP.