Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::transports::TCP Class Reference

Transport that sends string formatted metrics via TCP. More...

#include <TCP.h>

Inheritance diagram for o2::monitoring::transports::TCP:
Collaboration diagram for o2::monitoring::transports::TCP:

Public Member Functions

 TCP (const std::string &hostname, int port)
 
 ~TCP ()=default
 Default destructor.
 
void send (std::string &&message) override
 

Detailed Description

Transport that sends string formatted metrics via TCP.

Constructor & Destructor Documentation

o2::monitoring::transports::TCP::TCP ( const std::string &  hostname,
int  port 
)

Constructor

Parameters
hostnameInfluxDB instance hostname
portInfluxDB instance port number

Member Function Documentation

void o2::monitoring::transports::TCP::send ( std::string &&  message)
overridevirtual

Sends metric via UDP

Parameters
messager-value string formated

Implements o2::monitoring::transports::TransportInterface.


The documentation for this class was generated from the following files: