randolf.ca
1.00
Randolf Richardson's C++ classes
|
Structure of socket I/O statistics tracked by rsocket. The reason this is a subclass of std::mutex
is to ensure a thread-safe operation for the rsocket::~rsocket
destructor when making a final copy of the internally-tracked I/O statistics using the pointer to this structure (if specified with the rsocket::net_io_final() method).
More...
#include <rsocket_io>
Public Attributes | |
__uint128_t | bytes_rx |
Total number of unencrypted bytes received. | |
__uint128_t | bytes_sx |
Total number of unencrypted bytes spared (received, and remains in buffer). | |
__uint128_t | bytes_tx |
Total number of unencrypted bytes transmitted. | |
__uint128_t | crypt_rx |
Total number of encrypted bytes received. | |
__uint128_t | crypt_sx |
Total number of encrypted bytes spared (received, and remains in buffer). | |
__uint128_t | crypt_tx |
Total number of encrypted bytes transmitted. | |
bool | is_final |
Should always be initialized to FALSE; reserved for the rsocket::~rsocket destructor to set to TRUE. | |
Structure of socket I/O statistics tracked by rsocket. The reason this is a subclass of std::mutex
is to ensure a thread-safe operation for the rsocket::~rsocket
destructor when making a final copy of the internally-tracked I/O statistics using the pointer to this structure (if specified with the rsocket::net_io_final() method).
This statistical data is typically used in logging, and also in applications that keep track of I/O on a per-user basis.
__uint128_t randolf::rsocket_io::bytes_rx |
Total number of unencrypted bytes received.
__uint128_t randolf::rsocket_io::bytes_sx |
Total number of unencrypted bytes spared (received, and remains in buffer).
__uint128_t randolf::rsocket_io::bytes_tx |
Total number of unencrypted bytes transmitted.
__uint128_t randolf::rsocket_io::crypt_rx |
Total number of encrypted bytes received.
__uint128_t randolf::rsocket_io::crypt_sx |
Total number of encrypted bytes spared (received, and remains in buffer).
__uint128_t randolf::rsocket_io::crypt_tx |
Total number of encrypted bytes transmitted.
bool randolf::rsocket_io::is_final |
Should always be initialized to FALSE; reserved for the rsocket::~rsocket
destructor to set to TRUE.