|
xorp
|
A class to replicate update notifications to multiple reporters. More...
#include <ifconfig_reporter.hh>
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 |
A class to replicate update notifications to multiple reporters.
| int IfConfigUpdateReplicator::add_reporter | ( | IfConfigUpdateReporterBase * | rp | ) |
Add a reporter instance to update notification list.
| int IfConfigUpdateReplicator::remove_reporter | ( | IfConfigUpdateReporterBase * | rp | ) |
Remove a reporter instance from update notification list.