From 2524314febb71410b524367464efe13dd8d24a35 Mon Sep 17 00:00:00 2001 From: tomas Date: Tue, 22 Feb 2005 03:51:14 +0000 Subject: [PATCH] PHP wrapper to scheduler XMLRPC methods added. --- .../modules/storageServer/var/conf.php | 8 +- .../var/xmlrpc/schedulerPhpClient.php | 489 ++++++++++++++++++ 2 files changed, 496 insertions(+), 1 deletion(-) create mode 100644 livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php diff --git a/livesupport/modules/storageServer/var/conf.php b/livesupport/modules/storageServer/var/conf.php index f10e338ec..4da4af84e 100644 --- a/livesupport/modules/storageServer/var/conf.php +++ b/livesupport/modules/storageServer/var/conf.php @@ -23,7 +23,7 @@ Author : $Author: tomas $ - Version : $Revision: 1.11 $ + Version : $Revision: 1.12 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf.php,v $ ------------------------------------------------------------------------------*/ @@ -86,6 +86,12 @@ $config = array( 'archiveAccountLogin' => 'root', 'archiveAccountPass' => 'q', + /* ============================================== scheduler configuration */ + 'schedulerUrlPath' => '', + 'schedulerXMLRPC' => 'RC2', + 'schedulerUrlHost' => 'localhost', + 'schedulerUrlPort' => 3344, + /* ==================================== aplication-specific configuration */ 'objtypes' => array( 'RootNode' => array('Folder'), diff --git a/livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php b/livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php new file mode 100644 index 000000000..9b0d37c86 --- /dev/null +++ b/livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php @@ -0,0 +1,489 @@ + + *
  • m
  • full method name (include optional prefix) + *
  • p
  • array of input parameter names + *
  • r
  • array of result element names (not used there at present) + *
  • e
  • array of error codes/messages (not used there at present) + *