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]

inline const string&  first_error ()

first_error

[const]

Returns: error message of first error encountered.

inline const string&  last_error ()

last_error

[const]

Returns: error message of last error encountered.

inline uint32_t  error_count ()

error_count

[const]

Returns: number of errors reported.

inline void  reset ()

reset

Reset error count and error message.

inline void  log_error (const string& s)

log_error


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:22 2007, using kdoc $.