xorp

IfConfigUpdateReplicator Class Reference

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

#include <ifconfig_reporter.hh>

Inheritance diagram for IfConfigUpdateReplicator:
IfConfigUpdateReporterBase

List of all members.

Public Types

typedef
IfConfigUpdateReporterBase::Update 
Update

Public Member Functions

 IfConfigUpdateReplicator (const IfTree &observed_iftree)
int add_reporter (IfConfigUpdateReporterBase *rp)
 Add a reporter instance to update notification list.
int remove_reporter (IfConfigUpdateReporterBase *rp)
 Remove a reporter instance from update notification list.
void interface_update (const string &ifname, const Update &u)
 Forward interface update notification to reporter instances on update notification list.
void vif_update (const string &ifname, const string &vifname, const Update &u)
 Forward virtual interface update notification to reporter instances on update notification list.
void vifaddr4_update (const string &ifname, const string &vifname, const IPv4 &addr, const Update &u)
 Forward virtual interface address update notification to reporter instances on update notification list.
void updates_completed ()
 Forward notification that updates were completed to reporter instances on update notification list.

Protected Attributes

list
< IfConfigUpdateReporterBase * > 
_reporters

Detailed Description

A class to replicate update notifications to multiple reporters.


Member Function Documentation

int IfConfigUpdateReplicator::add_reporter ( IfConfigUpdateReporterBase rp)

Add a reporter instance to update notification list.

Returns:
XORP_OK on success, otherwise XORP_ERROR.
int IfConfigUpdateReplicator::remove_reporter ( IfConfigUpdateReporterBase rp)

Remove a reporter instance from update notification list.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations