PdCom  5.2
Process data communication client
Public Attributes | List of all members
PdCom::ClientStatistics Struct Reference

Statistics about a connected client. More...

#include <ClientStatistics.h>

Public Attributes

std::string name_
 Text as specified using the name attribute in <remote_host/>. More...
 
std::string application_name_
 Text as specified using the applicationname attribute in <remote_host/>. More...
 
std::size_t received_bytes_
 Received bytes. More...
 
std::size_t sent_bytes_
 Transmitted bytes. More...
 
std::chrono::nanoseconds connected_time_
 Time when client connected. More...
 

Detailed Description

Statistics about a connected client.

Can be fetched using Process::getClientStatistics().

Member Data Documentation

◆ application_name_

std::string PdCom::ClientStatistics::application_name_

Text as specified using the applicationname attribute in <remote_host/>.

◆ connected_time_

std::chrono::nanoseconds PdCom::ClientStatistics::connected_time_

Time when client connected.

◆ name_

std::string PdCom::ClientStatistics::name_

Text as specified using the name attribute in <remote_host/>.

◆ received_bytes_

std::size_t PdCom::ClientStatistics::received_bytes_

Received bytes.

◆ sent_bytes_

std::size_t PdCom::ClientStatistics::sent_bytes_

Transmitted bytes.


The documentation for this struct was generated from the following file: