class IfConfigErrorReporterBase

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

Contains pure virtuals
Definition#include <ifconfig.hh>
Inherited byIfConfigErrorReporter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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  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 Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.