CMS 3D CMS Logo

Public Member Functions | Private Attributes

DQMOldReceiver Class Reference

#include <DQMOldReceiver.h>

List of all members.

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
DQMStoregetBEInterface (void) DQM_DEPRECATED
int getNumUpdates (void) const DQM_DEPRECATED
DQMStoregetStore (void) DQM_DEPRECATED
 get pointer to back-end interface
bool update (void) DQM_DEPRECATED
 ~DQMOldReceiver (void) DQM_DEPRECATED

Private Attributes

DQMStorestore_
 use to get hold of structure with monitoring elements that class owns

Detailed Description

Definition at line 11 of file DQMOldReceiver.h.


Constructor & Destructor Documentation

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 8 of file DQMOldReceiver.cc.

  : store_ (0)
{}
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 4 of file DQMOldReceiver.cc.

  : store_ (0)
{}
DQMOldReceiver::~DQMOldReceiver ( void  )

Definition at line 12 of file DQMOldReceiver.cc.

{}

Member Function Documentation

bool DQMOldReceiver::doMonitoring ( void  )

Definition at line 23 of file DQMOldReceiver.cc.

References raiseDQMError().

{
  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::doMonitoring() is obsolete");
  return true;
}
DQMStore* DQMOldReceiver::getBEInterface ( void  ) [inline]

Definition at line 48 of file DQMOldReceiver.h.

References store_.

    { return store_; }
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 16 of file DQMOldReceiver.cc.

References raiseDQMError().

{
  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::update() is obsolete");
  return true;
}

Member Data Documentation

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().