#include <DQMOldReceiver.h>
Public Member Functions | |
bool | doMonitoring (void) DQM_DEPRECATED |
DQMOldReceiver (const std::string &hostname, int port, const std::string &client_name, int unusedReconnectDelaySecs=-1, bool unusedActAsServer=false) DQM_DEPRECATED | |
DQMOldReceiver (void) DQM_DEPRECATED | |
DQMStore * | getBEInterface (void) DQM_DEPRECATED |
int | getNumUpdates (void) const DQM_DEPRECATED |
DQMStore * | getStore (void) DQM_DEPRECATED |
get pointer to back-end interface | |
bool | update (void) DQM_DEPRECATED |
~DQMOldReceiver (void) DQM_DEPRECATED | |
Private Attributes | |
DQMStore * | store_ |
use to get hold of structure with monitoring elements that class owns |
Definition at line 11 of file DQMOldReceiver.h.
DQMOldReceiver::DQMOldReceiver | ( | void | ) |
Connect with monitoring server (DQM Collector) at <hostname> and <port_no> using <client_name>; if flag=true, client will accept downstream connections DQMOldReceiver(std::string hostname,int port_no,std::string client_name,
int reconnect_delay_secs = 5, bool actAsServer = false); Connect with monitoring server (DQM Collector) with a list of hostnames at <port_no> using <client_name>; if flag=true, client will accept downstream connections DQMOldReceiver::DQMOldReceiver(std::vector<std::string> hostnames, int port_no, std::string client_name, int reconnect_delay_secs=5, bool actAsServer=false); Use the default constructor for running in standalone mode (ie. without sources or collectors); if flag=true, client will accept downstream connections
Definition at line 9 of file DQMOldReceiver.cc.
: store_ (DQMStore::instance()) {}
DQMOldReceiver::DQMOldReceiver | ( | const std::string & | hostname, |
int | port, | ||
const std::string & | client_name, | ||
int | unusedReconnectDelaySecs = -1 , |
||
bool | unusedActAsServer = false |
||
) |
Connect with monitoring server (DQM Collector) at <hostname> and <port_no> using <client_name>;
Definition at line 5 of file DQMOldReceiver.cc.
: store_ (DQMStore::instance()) {}
DQMOldReceiver::~DQMOldReceiver | ( | void | ) |
Definition at line 13 of file DQMOldReceiver.cc.
{}
bool DQMOldReceiver::doMonitoring | ( | void | ) |
Definition at line 24 of file DQMOldReceiver.cc.
References raiseDQMError().
{ raiseDQMError("DQMOldReceiver", "DQMOldReceiver::doMonitoring() is obsolete"); return true; }
DQMStore* DQMOldReceiver::getBEInterface | ( | void | ) | [inline] |
int DQMOldReceiver::getNumUpdates | ( | void | ) | const [inline] |
Definition at line 58 of file DQMOldReceiver.h.
{ return 0; }
DQMStore* DQMOldReceiver::getStore | ( | void | ) | [inline] |
get pointer to back-end interface
Definition at line 46 of file DQMOldReceiver.h.
References store_.
{ return store_; }
bool DQMOldReceiver::update | ( | void | ) |
this is the "main" loop where we receive monitoring or send subscription requests; if client acts as server, method runQTests is also sending monitoring & test results to clients downstream; returns success flag
Definition at line 17 of file DQMOldReceiver.cc.
References raiseDQMError().
{ raiseDQMError("DQMOldReceiver", "DQMOldReceiver::update() is obsolete"); return true; }
DQMStore* DQMOldReceiver::store_ [private] |
use to get hold of structure with monitoring elements that class owns
Definition at line 62 of file DQMOldReceiver.h.
Referenced by getBEInterface(), and getStore().