class IfConfigErrorReporterBase

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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

When the platform IfConfig updates interfaces it can report errors to an IfConfigErrorReporterBase. The IfConfig instance takes a pointer to the IfConfigErrorReporterBase object it should use.

 IfConfigErrorReporterBase ()

IfConfigErrorReporterBase

 ~IfConfigErrorReporterBase ()

~IfConfigErrorReporterBase

[virtual]

void  config_error (const string& error_msg)

config_error

[pure virtual]

void  interface_error (const string& ifname, const string& error_msg)

interface_error

[pure virtual]

void  vif_error (const string& ifname, const string& vifname, const string& error_msg)

vif_error

[pure virtual]

void  vifaddr_error (const string& ifname, const string& vifname, const IPv4& addr, const string& error_msg)

vifaddr_error

[pure virtual]

void  vifaddr_error (const string& ifname, const string& vifname, const IPv6& addr, const string& error_msg)

vifaddr_error

[pure virtual]

const string&  first_error ()

first_error

[const]

Returns: error message of first error encountered.

const string&  last_error ()

last_error

[const]

Returns: error message of last error encountered.

uint32_t  error_count ()

error_count

[const]

Returns: number of errors reported.

void  reset ()

reset

Reset error count and error message.

void  log_error (const string& s)

log_error


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:50 2008, using kdoc 2.0a54+XORP.