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 XMLRPCPP_DECL XmlRpcErrorHandler_errorHandler = &defaultErrorHandler
 

Detailed Description

An interface allowing custom handling of error message reporting.

Definition at line 27 of file XmlRpcUtil.h.

Constructor & Destructor Documentation

◆ ~XmlRpcErrorHandler()

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

Definition at line 29 of file XmlRpcUtil.h.

Member Function Documentation

◆ error()

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.

◆ getErrorHandler()

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

Returns a pointer to the currently installed error handling object.

Definition at line 32 of file XmlRpcUtil.h.

◆ setErrorHandler()

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

Specifies the error handler.

Definition at line 36 of file XmlRpcUtil.h.

Member Data Documentation

◆ _errorHandler

XmlRpcErrorHandler * XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler
staticprotected

Definition at line 43 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, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32