DRDE/AusRegCliever/include/ausRegTK.h

50 lines
1.1 KiB
C
Raw Normal View History

2014-01-29 00:02:24 +00:00
#if defined(MD_AUSREG) || defined(MD_JSON)
2014-01-11 00:58:45 +00:00
#include "se/PollRequestCommand.hpp"
#include "se/PollResponse.hpp"
#include "session/Transaction.hpp"
#include "session/SessionManagerFactory.hpp"
#include "session/SessionManager.hpp"
#include "session/Timer.hpp"
#include "session/TestEnvironment.hpp"
#endif
2014-01-08 05:00:04 +00:00
2014-01-11 00:58:45 +00:00
#include "common/init.hpp"
2014-01-29 00:02:24 +00:00
#if defined(MD_AUSREG) || defined(MD_JSON)
2014-01-11 00:58:45 +00:00
#include "common/Test.hpp"
#include <pthread.h>
#include <memory>
#include <unistd.h>
#include <vector>
#endif
2014-01-08 05:00:04 +00:00
2014-01-30 23:27:18 +00:00
#define REGISTRY_HANDSHAKE 540
#define MIN_TRANSQ_POLICY 256
namespace ACPRODINOTE {
2014-01-08 05:00:04 +00:00
class ausRegEPPTK {
friend class masterDaemon;
2014-01-29 00:02:24 +00:00
private:
bool didDie; // Json fatal error
2014-01-10 20:05:42 +00:00
public: int tkScenario;
2014-01-11 03:01:32 +00:00
int daysRunning;
2014-01-16 05:10:28 +00:00
// See the Toolkit Overview. At tkScenario zeo supposedly it can do everything.
2014-01-10 20:05:42 +00:00
2014-01-18 20:35:18 +00:00
ausRegEPPTK() { tkScenario=thisConfig->tkScenario; // Maybe R-R pair specific later
2014-01-11 03:01:32 +00:00
daysRunning = 0;
}
2014-01-29 18:10:26 +00:00
2014-01-16 15:35:39 +00:00
bool doNothing(const std::string propertiesFilePath);
2014-01-11 00:58:45 +00:00
void doOTEA();
2014-01-13 23:19:10 +00:00
void doOTEB();
2014-01-29 18:10:26 +00:00
void doPROD();
void registryXOTE();
2014-01-08 05:00:04 +00:00
};
2014-01-30 23:27:18 +00:00
}