DRDE/ACTK1_0/session/ACSession.cpp

55 lines
1.3 KiB
C++
Raw Normal View History

2014-01-16 04:42:18 +00:00
#include "se/Greeting.hpp"
#include "session/SessionManagerImpl.hpp"
#include "session/ACSession.hpp"
#include "session/SessionPoolImpl.hpp"
#include "session/SessionFactory.hpp"
#include "session/Timer.hpp"
#include "se/ResultCode.hpp"
#include "common/EPPException.hpp"
#include "common/AutoMutex.hpp"
#include "session/SessionManagerProperties.hpp"
#include "session/Transaction.hpp"
#include "session/StatsViewer.hpp"
#include "session/StatsManager.hpp"
#include "session/LoginException.hpp"
#include "common/ErrorPkg.hpp"
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <limits>
#include <typeinfo>
extern int tkScenario;
2014-01-18 20:35:18 +00:00
extern mdLogger mdLog;
2014-01-16 04:42:18 +00:00
using namespace std;
ACSession::ACSession(SessionManagerProperties* props)
{
debugLogger = Logger::getLogger(pname + ".debug");
userLogger = Logger::getLogger(pname + ".user");
2014-01-18 20:35:18 +00:00
mdLog.logN(0,"AC Session Mgr compiled on " __DATE__ " @ " __TIME__);
2014-01-16 04:42:18 +00:00
configure(props);
}
ACSession::~ACSession()
{ }
void ACSession::run() {
2014-01-21 01:34:40 +00:00
mdLog.logN(1,"Begin Toolkit Scenario %d Session",tkScenario);
2014-01-16 04:42:18 +00:00
SessionManagerImpl::run();
}
void ACSession::shutdown() {
SessionManagerImpl::shutdown();
2014-01-21 01:34:40 +00:00
mdLog.logN(1,"End Toolkit Scenario %d Session",tkScenario);
2014-01-16 04:42:18 +00:00
}