P2pnsRegister Class Reference

Inheritance diagram for P2pnsRegister:

XmlRpc::XmlRpcServerMethod

List of all members.


Detailed Description

Definition at line 37 of file XmlRpcInterface.cc.


Public Member Functions

 P2pnsRegister (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.

Constructor & Destructor Documentation

P2pnsRegister::P2pnsRegister ( XmlRpcServer *  s  )  [inline]

Definition at line 40 of file XmlRpcInterface.cc.

00040                                    :
00041         XmlRpcServerMethod("register", s)
00042     {
00043     }


Member Function Documentation

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

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

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 45 of file XmlRpcInterface.cc.

00046     {
00047         (dynamic_cast<XmlRpcInterface*>(_server))->p2pnsRegister(params, result);
00048     }

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

00051     {
00052         return std::string("Register a name with P2PNS");
00053     }


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

Generated on Wed Mar 25 16:32:53 2009 for OverSim by  doxygen 1.5.5