CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
evf::RateStat Class Reference

#include <RateStat.h>

Public Member Functions

 RateStat (std::string iDieUrl)
 
void sendAuxLegenda (const std::string &)
 
void sendLegenda (const std::string &)
 
void sendStat (const unsigned char *, size_t, unsigned int)
 
 ~RateStat ()
 

Private Attributes

std::string iDieUrl_
 
CurlPosterposter_
 

Detailed Description

Definition at line 11 of file RateStat.h.

Constructor & Destructor Documentation

evf::RateStat::RateStat ( std::string  iDieUrl)

Definition at line 9 of file RateStat.cc.

References iDieUrl_, and poster_.

9  : iDieUrl_(iDieUrl)
10  {
11  poster_ = new CurlPoster(iDieUrl_);
12  }
CurlPoster * poster_
Definition: RateStat.h:20
std::string iDieUrl_
Definition: RateStat.h:19
evf::RateStat::~RateStat ( )

Definition at line 14 of file RateStat.cc.

References poster_.

15  {
16  delete poster_;
17  }
CurlPoster * poster_
Definition: RateStat.h:20

Member Function Documentation

void evf::RateStat::sendAuxLegenda ( const std::string &  message)

Definition at line 29 of file RateStat.cc.

References evf::CurlPoster::legaux, poster_, and evf::CurlPoster::postString().

Referenced by evf::FUEventProcessor::configuring(), and evf::FUEventProcessor::enabling().

30  {
32  }
void postString(const char *, size_t, unsigned int, mode, const std::string &=standard_post_method_)
Definition: CurlPoster.cc:112
CurlPoster * poster_
Definition: RateStat.h:20
void evf::RateStat::sendLegenda ( const std::string &  message)

Definition at line 24 of file RateStat.cc.

References evf::CurlPoster::leg, poster_, and evf::CurlPoster::postString().

Referenced by evf::FUEventProcessor::configuring(), and evf::FUEventProcessor::enabling().

25  {
26  poster_->postString(message.c_str(),message.length(),0,CurlPoster::leg);
27  }
void postString(const char *, size_t, unsigned int, mode, const std::string &=standard_post_method_)
Definition: CurlPoster.cc:112
CurlPoster * poster_
Definition: RateStat.h:20
void evf::RateStat::sendStat ( const unsigned char *  buf,
size_t  len,
unsigned int  lsid 
)

Definition at line 19 of file RateStat.cc.

References evf::CurlPoster::postBinary(), and poster_.

Referenced by evf::FUEventProcessor::summarize().

20  {
21  poster_->postBinary(buf,len,lsid);
22  }
void postBinary(const unsigned char *, size_t, unsigned int, const std::string &=standard_post_method_)
Definition: CurlPoster.cc:118
CurlPoster * poster_
Definition: RateStat.h:20

Member Data Documentation

std::string evf::RateStat::iDieUrl_
private

Definition at line 19 of file RateStat.h.

Referenced by RateStat().

CurlPoster* evf::RateStat::poster_
private

Definition at line 20 of file RateStat.h.

Referenced by RateStat(), sendAuxLegenda(), sendLegenda(), sendStat(), and ~RateStat().