CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/DQMServices/Core/interface/DQMOldReceiver.h

Go to the documentation of this file.
00001 #ifndef DQMSERVICES_CORE_DQM_CONNECTOR_H
00002 # define DQMSERVICES_CORE_DQM_CONNECTOR_H
00003 
00004 # if __GNUC__ && ! defined DQM_DEPRECATED
00005 #  define DQM_DEPRECATED __attribute__((deprecated))
00006 # endif
00007 
00008 # include <string>
00009 
00010 class DQMStore;
00011 class DQMOldReceiver
00012 {
00013 
00014 public:
00015 
00034   DQMOldReceiver(void) DQM_DEPRECATED;
00035  
00038   DQMOldReceiver(const std::string &hostname, int port,
00039                const std::string &client_name,
00040                int unusedReconnectDelaySecs = -1,
00041                bool unusedActAsServer = false) DQM_DEPRECATED;
00042 
00043   ~DQMOldReceiver(void) DQM_DEPRECATED;
00044 
00046   DQMStore *getStore(void) DQM_DEPRECATED
00047     { return store_; }
00048   DQMStore *getBEInterface(void) DQM_DEPRECATED
00049     { return store_; }
00050 
00056   bool update(void) DQM_DEPRECATED;
00057   bool doMonitoring(void) DQM_DEPRECATED;
00058   int getNumUpdates(void) const DQM_DEPRECATED { return 0; }
00059 
00060 private:
00062   DQMStore *store_;
00063 } DQM_DEPRECATED;
00064 
00065 #endif // DQMSERVICES_CORE_DQM_CONNECTOR_H