BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EchoStructTest Class Reference
Inheritance diagram for EchoStructTest:

Public Member Functions

 EchoStructTest (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 84 of file Validator.cpp.

Constructor & Destructor Documentation

◆ EchoStructTest()

EchoStructTest::EchoStructTest ( XmlRpcServer * s)
inline

Definition at line 86 of file Validator.cpp.

86: XmlRpcServerMethod( "validator1.echoStructTest", s ) {}
XmlRpcServer s
Definition Validator.cpp:8
XmlRpcServerMethod(std::string const &name, XmlRpcServer *server=0)
Constructor.

Member Function Documentation

◆ execute()

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

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

Implements XmlRpc::XmlRpcServerMethod.

Definition at line 88 of file Validator.cpp.

88 {
89 std::cerr << "EchoStructTest\n";
90 result = params[0];
91 }

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