#include "../shared/ContainerThread.h" #include "../shared/GlobalConfigFile.h" #include "WireFormats.h" #include "ProxyThread.h" #include "SendTimeAsTos.h" class SendTimeAsTos : public ForeverThreadUser { private: static const int PERIOD_IN_SECONDS = 60; static const int INITIAL_PAUSE = 30; const std::string _source; time_t _nextWakeTime; virtual void beforeSleep(IBeforeSleepCallbacks &callbacks) { const int64_t now = getMicroTime(); const time_t now_seconds = now / 1000000; //std::cout<<"SendTimeAsTos::beforeSleep() now = "<