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
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent b9fe88fcbe
commit 10065c206c

@ -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;
}

Loading…
Cancel
Save