#include <RestoreBackupMethod.h>
Inheritance diagram for LiveSupport::Scheduler::RestoreBackupMethod:
The name of the method when called through XML-RPC is “restoreBackup”.
The expected parameter is an XML-RPC structure with these members:
In case of an error, a standard XML-RPC fault response is generated, and a { faultCode, faultString } structure is returned. The possible errors are:
Definition at line 85 of file RestoreBackupMethod.h.
Public Member Functions | |
RestoreBackupMethod (void) throw () | |
A default constructor, for testing purposes. | |
RestoreBackupMethod (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 createBackupOpen command on the Scheduler daemon. |
LiveSupport::Scheduler::RestoreBackupMethod::RestoreBackupMethod | ( | void | ) | throw () [inline] |
RestoreBackupMethod::RestoreBackupMethod | ( | Ptr< XmlRpc::XmlRpcServer >::Ref | xmlRpcServer | ) | throw () |
Constuctor that registers the method with the server right away.
xmlRpcServer | the XML-RPC server to register with. |
Definition at line 68 of file RestoreBackupMethod.cxx.
void RestoreBackupMethod::execute | ( | XmlRpc::XmlRpcValue & | parameters, | |
XmlRpc::XmlRpcValue & | returnValue | |||
) | throw (XmlRpc::XmlRpcException) |
Execute the createBackupOpen command on the Scheduler daemon.
parameters | XML-RPC function call parameters | |
returnValue | the return value of the call (out parameter) |
Definition at line 80 of file RestoreBackupMethod.cxx.
References LiveSupport::Core::XmlRpcException::what().