class XrlIfConfigUpdateReporter

Class for exporting configuration events within FEA to other processes via XRL's. More...

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

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef IfConfigUpdateReporterBase::Update Update

Update

typedef list<string> TgtList

TgtList

 XrlIfConfigUpdateReporter (XrlRouter& rtr)

XrlIfConfigUpdateReporter

bool  add_reportee (const string& xrl_target)

add_reportee

Add an xrl target to list of those that will receive interface event notifications.

Parameters:
xrl_targetthe xrl target to be added.

Returns: true on success, false if target already listed.

bool  remove_reportee (const string& xrl_target)

remove_reportee

Remove an xrl target from the list of those that receive interface event notifications.

Parameters:
xrl_targetthe xrl target to be removed.

Returns: true on success, false if target is not listed.

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

interface_update

Send announcment of interface update.

Parameters:
ifnamethe name of the interface updated.
uthe update that occured

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

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

vif_update

Send announcment of a vif update.

Parameters:
ifnamethe name of the interface associated with vif.
vifnamethe name of the vif updated.
uthe update that occured

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

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

vifaddr4_update

Send announcment of a vif address update.

Parameters:
ifnamethe name of the interface associated with vif address.
vifnamethe name of the vif associated with the address.
addrthe updated address.
uthe update that occured

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

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

vifaddr6_update

Send announcment of a vif address update.

Parameters:
ifnamethe name of the interface associated with vif address.
vifnamethe name of the vif associated with the address.
addrthe updated address.
uthe update that occured

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  xrl_sent (const XrlError&e, const string tgt)

xrl_sent

[protected]

 XrlIfConfigUpdateReporter (const XrlIfConfigUpdateReporter&)

XrlIfConfigUpdateReporter

[protected]

XrlIfConfigUpdateReporter&  operator= (const XrlIfConfigUpdateReporter&)

operator=

[protected]

XrlRouter& _rtr

_rtr

[protected]

TgtList _tgts

_tgts

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.