Public Member Functions

Get Class Reference

Inheritance diagram for Get:
XmlRpc::XmlRpcServerMethod

List of all members.

Public Member Functions

 Get (XmlRpcServer *s)
void execute (XmlRpcValue &params, XmlRpcValue &result)
 Execute the method. Subclasses must provide a definition for this method.
std::string help ()
 Returns a help string for the method.

Detailed Description

Definition at line 144 of file XmlRpcInterface.cc.


Constructor & Destructor Documentation

Get::Get ( XmlRpcServer s  )  [inline]

Definition at line 147 of file XmlRpcInterface.cc.

                         :
        XmlRpcServerMethod("get", s)
    {
    }


Member Function Documentation

void Get::execute ( XmlRpcValue params,
XmlRpcValue result 
) [inline, virtual]

Execute the method. Subclasses must provide a definition for this method.

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 152 of file XmlRpcInterface.cc.

    {
        (dynamic_cast<XmlRpcInterface*>(_server))->get(params, result);
    }

std::string Get::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 157 of file XmlRpcInterface.cc.

    {
        return std::string("Get a value from the DHT");
    }


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