CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RateStat.cc
Go to the documentation of this file.
4 
5 #include <iostream>
6 
7 namespace evf{
8 
9  RateStat::RateStat(std::string iDieUrl) : iDieUrl_(iDieUrl)
10  {
12  }
13 
15  {
16  delete poster_;
17  }
18 
19  void RateStat::sendStat(const unsigned char *buf, size_t len, unsigned int lsid)
20  {
21  poster_->postBinary(buf,len,lsid);
22  }
23 
25  {
26  poster_->postString(message.c_str(),message.length(),0,CurlPoster::leg);
27  }
28 
30  {
31  poster_->postString(message.c_str(),message.length(),0,CurlPoster::legaux);
32  }
33 
34 }
void sendAuxLegenda(const std::string &)
Definition: RateStat.cc:29
void postString(const char *, size_t, unsigned int, mode, const std::string &=standard_post_method_)
Definition: CurlPoster.cc:112
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
std::string iDieUrl_
Definition: RateStat.h:19
void sendLegenda(const std::string &)
Definition: RateStat.cc:24
RateStat(std::string iDieUrl)
Definition: RateStat.cc:9
void sendStat(const unsigned char *, size_t, unsigned int)
Definition: RateStat.cc:19