Main Page   Class Hierarchy   Compound List   File List   Compound Members  

XmlRpc::XmlRpcServerMethod Class Reference

Abstract class representing a single RPC method. More...

#include <XmlRpcServerMethod.h>

List of all members.

Public Member Functions

 XmlRpcServerMethod (std::string const &name, XmlRpcServer *server=0)
 Constructor.

virtual ~XmlRpcServerMethod ()
 Destructor.

std::string & name ()
 Returns the name of the method.

virtual void execute (XmlRpcValue &params, XmlRpcValue &result)=0
 Execute the method. Subclasses must provide a definition for this method.

virtual std::string help ()
 Returns a help string for the method.


Protected Attributes

std::string _name
XmlRpcServer_server


Detailed Description

Abstract class representing a single RPC method.


Member Function Documentation

virtual std::string XmlRpc::XmlRpcServerMethod::help   [inline, virtual]
 

Returns a help string for the method.

Subclasses should define this method if introspection is being used.


The documentation for this class was generated from the following files:
Generated on Thu Mar 6 11:32:58 2003 for XmlRpc++ by doxygen1.3-rc3