#ifndef __FeedMaster_h_ #define __FeedMaster_h_ #include "../shared/ContainerThread.h" /* This unit feeds records to the master server. * * FeedMasterServerConnection does the bulk of the work. FeedMaster is the * public part. FeedMaster offers a small and appropriate interface to to * the record producer. And FeedMaster takes care of some nitpicky details * related to memory management. * * FeedMaster is short for "Feed data to the Master server." */ class FeedMasterServerConnection; class FeedMaster : NoCopy, NoAssign { private: FeedMasterServerConnection *_serverConnection; public: FeedMaster(bool alerts); ~FeedMaster(); void sendRecord(std::string const &record); void updateDeadManTimer(std::string const &name); }; #endif