LiveSupport::Scheduler::GetSchedulerTimeMethod Class Reference

#include <GetSchedulerTimeMethod.h>

Inheritance diagram for LiveSupport::Scheduler::GetSchedulerTimeMethod:

[legend]
Collaboration diagram for LiveSupport::Scheduler::GetSchedulerTimeMethod:

[legend]
List of all members.

Detailed Description

An XML-RPC method object to report the local time on the computer where the scheduler daemon is running.

The name of the method when called through XML-RPC is "getSchedulerTime".

No input parameters are expected.

The XML-RPC function returns an XML-RPC structure containing a single ISO 8601 DateTime field:

This method does not generate any fault responses.

Author:
Author
fgerlits
Version:
Revision
2329

Definition at line 91 of file GetSchedulerTimeMethod.h.

Public Member Functions

 GetSchedulerTimeMethod (void) throw ()
 A default constructor, for testing purposes.
 GetSchedulerTimeMethod (Ptr< XmlRpc::XmlRpcServer >::Ref xmlRpcServer) throw ()
 Constuctor that registers the method with the server right away.
void execute (XmlRpc::XmlRpcValue ¶meters, XmlRpc::XmlRpcValue &returnValue) throw (XmlRpc::XmlRpcException)
 Execute the getSchedulerTime command on the Scheduler daemon.


Constructor & Destructor Documentation

LiveSupport::Scheduler::GetSchedulerTimeMethod::GetSchedulerTimeMethod ( void   )  throw () [inline]

A default constructor, for testing purposes.

Definition at line 110 of file GetSchedulerTimeMethod.h.

GetSchedulerTimeMethod::GetSchedulerTimeMethod ( Ptr< XmlRpc::XmlRpcServer >::Ref  xmlRpcServer  )  throw ()

Constuctor that registers the method with the server right away.

Parameters:
xmlRpcServer the XML-RPC server to register with.

Definition at line 88 of file GetSchedulerTimeMethod.cxx.


Member Function Documentation

void GetSchedulerTimeMethod::execute ( XmlRpc::XmlRpcValue &  parameters,
XmlRpc::XmlRpcValue &  returnValue 
) throw (XmlRpc::XmlRpcException)

Execute the getSchedulerTime command on the Scheduler daemon.

Parameters:
parameters XML-RPC function call parameters
returnValue the return value of the call (out parameter)

Definition at line 99 of file GetSchedulerTimeMethod.cxx.


The documentation for this class was generated from the following files:
Generated on Thu Sep 20 02:00:43 2007 for Campcaster by  1.4.7