Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Hello Class Reference

Inheritance diagram for Hello:

XmlRpc::XmlRpcServerMethod List of all members.

Public Member Functions

void execute (XmlRpcValue &params, XmlRpcValue &result)
 Execute the method. Subclasses must provide a definition for this method.
 Hello (XmlRpcServer *s)
std::string help ()
std::string & name ()
 Returns the name of the method.

Protected Attributes

std::string _name
XmlRpcServer * _server

Constructor & Destructor Documentation

Hello::Hello XmlRpcServer s  )  [inline]
 

00017 : XmlRpcServerMethod("Hello", s) {}


Member Function Documentation

void Hello::execute XmlRpcValue params,
XmlRpcValue result
[inline, virtual]
 

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

Implements XmlRpc::XmlRpcServerMethod.

00020   {
00021     result = "Hello";
00022   }

std::string Hello::help  )  [inline, virtual]
 

Returns a help string for the method. Subclasses should define this method if introspection is being used.

Reimplemented from XmlRpc::XmlRpcServerMethod.

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

std::string& XmlRpc::XmlRpcServerMethod::name void   )  [inline, inherited]
 

Returns the name of the method.

00032 { return _name; }


Member Data Documentation

std::string XmlRpc::XmlRpcServerMethod::_name [protected, inherited]
 

XmlRpcServer* XmlRpc::XmlRpcServerMethod::_server [protected, inherited]
 


The documentation for this class was generated from the following file:
Generated on Wed Feb 2 16:16:52 2011 for BOSS6.5.5 by  doxygen 1.3.9.1