randolf.ca
1.00
Randolf'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...
Public Attributes | |
ulong | bytes_rx |
Total number of unencrypted bytes received. More... | |
ulong | bytes_sx |
Total number of unencrypted bytes spared (received, but left in buffer) More... | |
ulong | bytes_tx |
Total number of unencrypted bytes transmitted. More... | |
ulong | crypt_rx |
Total number of encrypted bytes received. More... | |
ulong | crypt_sx |
Total number of encrypted bytes spared (received, but left in buffer) More... | |
ulong | crypt_tx |
Total number of encrypted bytes transmitted. More... | |
bool | is_final |
Should always be initialized to FALSE; reserved by ~rsocket to set to TRUE. More... | |
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.
ulong randolf::rsocket_io::bytes_rx |
Total number of unencrypted bytes received.
ulong randolf::rsocket_io::bytes_sx |
Total number of unencrypted bytes spared (received, but left in buffer)
ulong randolf::rsocket_io::bytes_tx |
Total number of unencrypted bytes transmitted.
ulong randolf::rsocket_io::crypt_rx |
Total number of encrypted bytes received.
ulong randolf::rsocket_io::crypt_sx |
Total number of encrypted bytes spared (received, but left in buffer)
ulong randolf::rsocket_io::crypt_tx |
Total number of encrypted bytes transmitted.
bool randolf::rsocket_io::is_final |
Should always be initialized to FALSE; reserved by ~rsocket to set to TRUE.