::Ref scf
+ = SchedulerClientFactory::getInstance();
+ scf->configure( *((const xmlpp::Element*) *(nodes.begin())) );
+
+ schedulerClient = scf->getSchedulerClient();
}
diff --git a/livesupport/products/gLiveSupport/src/GLiveSupport.h b/livesupport/products/gLiveSupport/src/GLiveSupport.h
index b3911cd23..f673c3e16 100644
--- a/livesupport/products/gLiveSupport/src/GLiveSupport.h
+++ b/livesupport/products/gLiveSupport/src/GLiveSupport.h
@@ -22,7 +22,7 @@
Author : $Author: maroy $
- Version : $Revision: 1.2 $
+ Version : $Revision: 1.3 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.h,v $
------------------------------------------------------------------------------*/
@@ -47,11 +47,13 @@
#include "LiveSupport/Core/Ptr.h"
#include "LiveSupport/Core/Configurable.h"
#include "LiveSupport/Core/AuthenticationClientInterface.h"
+#include "LiveSupport/SchedulerClient/SchedulerClientInterface.h"
namespace LiveSupport {
namespace GLiveSupport {
using namespace LiveSupport::Core;
+using namespace LiveSupport::SchedulerClient;
/* ================================================================ constants */
@@ -70,17 +72,20 @@ using namespace LiveSupport::Core;
*
*
*
+ * authenticationClientFactory,
+ * schedulerClientFactory) >
*
*
- * For a description of the resourceBundle
and
- * authenticationClientFactory
elements see their
+ * For a description of the resourceBundle
,
+ * authenticationClientFactory
and
+ * schedulerClientFactory
elements see their
* respective documentation.
*
* @author $Author: maroy $
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @see LocalizedObject#getBundle(const xmlpp::Element &)
* @see AuthenticationClientFactory
+ * @see SchedulerClientFactory
*/
class GLiveSupport : public Configurable,
public boost::enable_shared_from_this
@@ -101,6 +106,11 @@ class GLiveSupport : public Configurable,
*/
Ptr::Ref authentication;
+ /**
+ * The scheduler client, used to access the scheduler daemon.
+ */
+ Ptr::Ref schedulerClient;
+
/**
* The session id for the user.
*/