OverSim
P2pnsResolve Class Reference
Inheritance diagram for P2pnsResolve:
XmlRpc::XmlRpcServerMethod

Public Member Functions

 P2pnsResolve (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.
- Public Member Functions inherited from XmlRpc::XmlRpcServerMethod
 XmlRpcServerMethod (std::string const &name, XmlRpcServer *server=0)
 Constructor.
virtual ~XmlRpcServerMethod ()
 Destructor.
std::string & getName ()
 Returns the name of the method.

Additional Inherited Members

- Protected Attributes inherited from XmlRpc::XmlRpcServerMethod
std::string _name
XmlRpcServer_server

Detailed Description

Definition at line 65 of file XmlRpcInterface.cc.

Constructor & Destructor Documentation

P2pnsResolve::P2pnsResolve ( XmlRpcServer s)
inline

Definition at line 68 of file XmlRpcInterface.cc.

:
XmlRpcServerMethod("resolve", s)
{
}

Member Function Documentation

void P2pnsResolve::execute ( XmlRpcValue params,
XmlRpcValue result 
)
inlinevirtual

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

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 73 of file XmlRpcInterface.cc.

{
(dynamic_cast<XmlRpcInterface*>(_server))->p2pnsResolve(params, result);
}
std::string P2pnsResolve::help ( )
inlinevirtual

Returns a help string for the method.

Subclasses should define this method if introspection is being used.

Reimplemented from XmlRpc::XmlRpcServerMethod.

Definition at line 78 of file XmlRpcInterface.cc.

{
return std::string("Resolve a name with P2PNS");
}

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