Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
XmlRpc::XmlRpcErrorHandler Class Referenceabstract

An interface allowing custom handling of error message reporting. More...

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcErrorHandler:
Inheritance graph
[legend]

Public Member Functions

virtual void error (const char *msg)=0
 Report an error. Custom error handlers should define this method. More...
 
virtual ~XmlRpcErrorHandler ()
 

Static Public Member Functions

static XmlRpcErrorHandlergetErrorHandler ()
 Returns a pointer to the currently installed error handling object. More...
 
static void setErrorHandler (XmlRpcErrorHandler *eh)
 Specifies the error handler. More...
 

Static Protected Attributes

static XmlRpcErrorHandler_errorHandler = &defaultErrorHandler
 

Detailed Description

An interface allowing custom handling of error message reporting.

Definition at line 43 of file XmlRpc.h.

Constructor & Destructor Documentation

virtual XmlRpc::XmlRpcErrorHandler::~XmlRpcErrorHandler ( )
inlinevirtual

Definition at line 45 of file XmlRpc.h.

Member Function Documentation

virtual void XmlRpc::XmlRpcErrorHandler::error ( const char *  msg)
pure virtual

Report an error. Custom error handlers should define this method.

Implemented in DefaultErrorHandler.

static XmlRpcErrorHandler* XmlRpc::XmlRpcErrorHandler::getErrorHandler ( )
inlinestatic

Returns a pointer to the currently installed error handling object.

Definition at line 48 of file XmlRpc.h.

static void XmlRpc::XmlRpcErrorHandler::setErrorHandler ( XmlRpcErrorHandler eh)
inlinestatic

Specifies the error handler.

Definition at line 52 of file XmlRpc.h.

Member Data Documentation

XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler
staticprotected

Definition at line 59 of file XmlRpc.h.


The documentation for this class was generated from the following files:


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley
autogenerated on Sat Oct 5 2019 03:58:22