CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
HelloName Class Reference
+ Inheritance diagram for HelloName:

Public Member Functions

 HelloName (XmlRpcServer *s)
 
void execute (XmlRpcValue &params, XmlRpcValue &result)
 Execute the method. Subclasses must provide a definition for this method.
 
- Public Member Functions inherited from XmlRpc::XmlRpcServerMethod
 XmlRpcServerMethod (std::string const &name, XmlRpcServer *server=0)
 Constructor.
 
virtual ~XmlRpcServerMethod ()
 Destructor.
 
std::string & name ()
 Returns the name of the method.
 
virtual std::string help ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 30 of file HelloServer.cpp.

Constructor & Destructor Documentation

◆ HelloName()

HelloName::HelloName ( XmlRpcServer * s)
inline

Definition at line 33 of file HelloServer.cpp.

33: XmlRpcServerMethod("HelloName", s) {}
XmlRpcServer s
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.

Member Function Documentation

◆ execute()

void HelloName::execute ( XmlRpcValue & params,
XmlRpcValue & result )
inlinevirtual

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

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 35 of file HelloServer.cpp.

36 {
37 std::string resultString = "Hello, ";
38 resultString += std::string(params[0]);
39 result = resultString;
40 }

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