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 <XmlRpcUtil.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 29 of file XmlRpcUtil.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file XmlRpcUtil.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 XmlRpcConnectTest, FakeErrorHandler, and DefaultErrorHandler.

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

Returns a pointer to the currently installed error handling object.

Definition at line 34 of file XmlRpcUtil.h.

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

Specifies the error handler.

Definition at line 38 of file XmlRpcUtil.h.

Member Data Documentation

XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler
staticprotected

Definition at line 45 of file XmlRpcUtil.h.


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


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix
autogenerated on Sun Feb 3 2019 03:29:52