LiveSupport::Scheduler::CreateBackupCloseMethod Class Reference

#include <CreateBackupCloseMethod.h>

Inheritance diagram for LiveSupport::Scheduler::CreateBackupCloseMethod:

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

[legend]
List of all members.

Detailed Description

An XML-RPC method object to close the backup creation process.

The name of the method when called through XML-RPC is “createBackupClose”.

The expected parameter is an XML-RPC structure with a single member:

In case of an error, a standard XML-RPC fault response is generated, and a { faultCode, faultString } structure is returned. The possible errors are:

Author:
Author
fgerlits
Version:
Revision
2329

Definition at line 88 of file CreateBackupCloseMethod.h.

Public Member Functions

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


Constructor & Destructor Documentation

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

A default constructor, for testing purposes.

Definition at line 107 of file CreateBackupCloseMethod.h.

CreateBackupCloseMethod::CreateBackupCloseMethod ( 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 81 of file CreateBackupCloseMethod.cxx.


Member Function Documentation

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

Execute the createBackupOpen command on the Scheduler daemon.

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

Definition at line 93 of file CreateBackupCloseMethod.cxx.

References LiveSupport::Core::XmlRpcException::what().


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 02:00:46 2007 for Campcaster by  1.4.7