BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Hello Class Reference
+ Inheritance diagram for Hello:

Public Member Functions

 Hello (XmlRpcServer *s)
 
void execute (XmlRpcValue &params, XmlRpcValue &result)
 Execute the method. Subclasses must provide a definition for this method.
 
std::string help ()
 
- 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.
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file HelloServer.cpp.

Constructor & Destructor Documentation

◆ Hello()

Hello::Hello ( XmlRpcServer * s)
inline

Definition at line 17 of file HelloServer.cpp.

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

Member Function Documentation

◆ execute()

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

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

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 19 of file HelloServer.cpp.

20 {
21 result = "Hello";
22 }

◆ help()

std::string Hello::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 24 of file HelloServer.cpp.

24{ return std::string("Say hello"); }

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