#ifndef __TimerDataNode_h_ #define __TimerDataNode_h_ //////////////////////////////////////////////////////////////////// // TimerDataNode // // The Delphi version of the code used a special realtick symbol // called $time which updated once per minute. We don't have any- // thing like that in SpryWare. Instead this will test the timer // thread, the data node thread, and the push alerts thread. It // would have helped me find a recent problem, so it's got some // value. //////////////////////////////////////////////////////////////////// #include "../misc_framework/DataNodes.h" class TimerDataNode : public DataNode { private: TimerThread::Helper _timerHelper; void onBroadcast(BroadcastMessage &message, int msgId); TimerDataNode(DataNodeArgument const &args); friend class DataNode; public: static DataNodeLink *find(DataNodeListener *listener, int msgId, Integer periodInSeconds = 60); }; #endif