1 #ifndef _ots_Utilities_RemoteWebUsers_h
2 #define _ots_Utilities_RemoteWebUsers_h
4 #include "otsdaq/SOAPUtilities/SOAPMessenger.h"
5 #include "otsdaq/WebUsersUtilities/WebUsers.h"
10 #include "otsdaq/TableCore/TableGroupKey.h"
15 class AllSupervisorInfo;
16 class HttpXmlDocument;
25 RemoteWebUsers(xdaq::Application* application, XDAQ_CONST_CALL xdaq::ApplicationDescriptor* gatewaySupervisorDescriptor);
34 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* gatewaySupervisorDescriptor_;
55 std::string getActiveUserList (
void);
56 void sendSystemMessage (
const std::string& toUser,
const std::string& message,
bool doEmail =
false);
57 void sendSystemMessage (
const std::string& toUser,
const std::string& subject,
const std::string& message,
bool doEmail =
false);
58 void makeSystemLogbookEntry (
const std::string& entryText);
60 getLastTableGroup (
const std::string& actionOfLastGroup, std::string& returnedActionTimeString);
65 std::string ActiveUserList_;
66 time_t ActiveUserLastUpdateTime_;
69 ACTIVE_USERS_UPDATE_THRESHOLD = 2,