diff --git a/livesupport/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h b/livesupport/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h index 44c13d239..7fdee63a6 100644 --- a/livesupport/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h +++ b/livesupport/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/schedulerClient/include/LiveSupport/SchedulerClient/SchedulerClientInterface.h,v $ ------------------------------------------------------------------------------*/ @@ -64,7 +64,7 @@ using namespace LiveSupport::Core; * An interface to access the scheduler daemon as a client. * * @author $Author: maroy $ - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ class SchedulerClientInterface { @@ -82,13 +82,10 @@ class SchedulerClientInterface /** * Return the current time at the scheduler server. * - * @param sessionId a sessionId previously acquired by successfully - * authenticating with the authentication module * @return the current time at the scheduler server. */ virtual Ptr::Ref - getSchedulerTime(Ptr::Ref sessionId) - throw () + getSchedulerTime(void) throw () = 0; }; diff --git a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx index 1cc259df6..dcde533bd 100644 --- a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx +++ b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx,v $ ------------------------------------------------------------------------------*/ @@ -158,8 +158,7 @@ SchedulerDaemonXmlRpcClient :: getVersion(void) throw () * Get the current time from the server. *----------------------------------------------------------------------------*/ Ptr::Ref -SchedulerDaemonXmlRpcClient :: getSchedulerTime( - Ptr::Ref sessionId) +SchedulerDaemonXmlRpcClient :: getSchedulerTime(void) throw () { XmlRpcValue xmlRpcParams; @@ -172,7 +171,6 @@ SchedulerDaemonXmlRpcClient :: getSchedulerTime( false); xmlRpcResult.clear(); - xmlRpcParams["sessionId"] = sessionId->getId(); xmlRpcClient.execute("getSchedulerTime", xmlRpcParams, xmlRpcResult); if (xmlRpcResult.hasMember("schedulerTime")) { diff --git a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.h b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.h index 8a66536e9..6e042e9d0 100644 --- a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.h +++ b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.h @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.h,v $ ------------------------------------------------------------------------------*/ @@ -90,7 +90,7 @@ using namespace LiveSupport::Core; * * * @author $Author: maroy $ - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ class SchedulerDaemonXmlRpcClient : virtual public Configurable, @@ -169,7 +169,7 @@ class SchedulerDaemonXmlRpcClient : * @return the current time at the scheduler server. */ virtual Ptr::Ref - getSchedulerTime(Ptr::Ref sessionId) throw (); + getSchedulerTime(void) throw (); }; diff --git a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClientTest.cxx b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClientTest.cxx index fc19c8180..6cf624c9b 100644 --- a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClientTest.cxx +++ b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClientTest.cxx @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClientTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -169,7 +169,7 @@ void SchedulerDaemonXmlRpcClientTest :: getSchedulerTimeTest(void) throw (CPPUNIT_NS::Exception) { - Ptr::Ref time = schedulerClient->getSchedulerTime(sessionId); + Ptr::Ref time = schedulerClient->getSchedulerTime(); Ptr::Ref now = TimeConversion::now(); CPPUNIT_ASSERT(time.get());