From 10065c206c180c16a3ccd76f6e82a3a97f92328f Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 16 Jul 2008 16:38:54 +0000 Subject: [PATCH] updated to current method to get active session count git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1056 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/examples/xmlrpc2di/XMLRPC2DI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/examples/xmlrpc2di/XMLRPC2DI.cpp b/apps/examples/xmlrpc2di/XMLRPC2DI.cpp index 4a2df2ac..d4c966ab 100644 --- a/apps/examples/xmlrpc2di/XMLRPC2DI.cpp +++ b/apps/examples/xmlrpc2di/XMLRPC2DI.cpp @@ -26,12 +26,12 @@ */ #include "XMLRPC2DI.h" -#include "AmSessionContainer.h" #include "AmPlugIn.h" #include "log.h" #include "AmConfigReader.h" #include "AmUtils.h" #include "AmArg.h" +#include "AmSession.h" #define MOD_NAME "xmlrpc2di" @@ -326,7 +326,7 @@ void XMLRPC2DIServer::on_stop() { DBG("sorry, don't know how to stop the server.\n"); } void XMLRPC2DIServerCallsMethod::execute(XmlRpcValue& params, XmlRpcValue& result) { - int res = AmSessionContainer::instance()->getSize(); + int res = AmSession::getSessionNum(); DBG("XMLRPC2DI: calls = %d\n", res); result = res; }