DRDE/ACTK1_0/session/ACSession.cpp

55 lines
1.3 KiB
C++

#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;
extern mdLogger mdLog;
using namespace std;
ACSession::ACSession(SessionManagerProperties* props)
{
debugLogger = Logger::getLogger(pname + ".debug");
userLogger = Logger::getLogger(pname + ".user");
mdLog.logN(0,"AC Session Mgr compiled on " __DATE__ " @ " __TIME__);
configure(props);
}
ACSession::~ACSession()
{ }
void ACSession::run() {
mdLog.logN(1,"Begin Toolkit Scenario %d Session",tkScenario);
SessionManagerImpl::run();
}
void ACSession::shutdown() {
SessionManagerImpl::shutdown();
mdLog.logN(1,"End Toolkit Scenario %d Session",tkScenario);
}