Inheritance diagram for ListMethods:
Public Member Functions | |
ListMethods (XmlRpcServer *s) | |
void | execute (XmlRpcValue ¶ms, XmlRpcValue &result) |
Execute the method. Subclasses must provide a definition for this method. | |
std::string | help () |
std::string & | name () |
Returns the name of the method. | |
Protected Attributes | |
std::string | _name |
XmlRpcServer * | _server |
Definition at line 207 of file XmlRpcServer.cpp.
ListMethods::ListMethods | ( | XmlRpcServer * | s | ) | [inline] |
void ListMethods::execute | ( | XmlRpcValue & | params, | |
XmlRpcValue & | result | |||
) | [inline, virtual] |
Execute the method. Subclasses must provide a definition for this method.
Implements XmlRpc::XmlRpcServerMethod.
Definition at line 212 of file XmlRpcServer.cpp.
00213 { 00214 _server->listMethods(result); 00215 }
std::string ListMethods::help | ( | ) | [inline, virtual] |
Returns a help string for the method. Subclasses should define this method if introspection is being used.
Reimplemented from XmlRpc::XmlRpcServerMethod.
Definition at line 217 of file XmlRpcServer.cpp.
References deljobs::string.
00217 { return std::string("List all methods available on a server as an array of strings"); }
std::string& XmlRpc::XmlRpcServerMethod::name | ( | void | ) | [inline, inherited] |
Returns the name of the method.
Definition at line 32 of file XmlRpcServerMethod.h.
References XmlRpc::XmlRpcServerMethod::_name.
Referenced by XmlRpc::XmlRpcServer::addMethod(), and XmlRpc::XmlRpcServer::removeMethod().
00032 { return _name; }
std::string XmlRpc::XmlRpcServerMethod::_name [protected, inherited] |
Definition at line 42 of file XmlRpcServerMethod.h.
Referenced by XmlRpc::XmlRpcServerMethod::name(), and XmlRpc::XmlRpcServerMethod::XmlRpcServerMethod().
XmlRpcServer* XmlRpc::XmlRpcServerMethod::_server [protected, inherited] |
Definition at line 43 of file XmlRpcServerMethod.h.
Referenced by XmlRpc::XmlRpcServerMethod::XmlRpcServerMethod(), and XmlRpc::XmlRpcServerMethod::~XmlRpcServerMethod().