Monitoring
Send buffers
The get_available_send_buffers
function can be used to check the number of available send buffers per FID for which
init_send_data was called. Note, that
this function returns the minimum number of available send buffers since the last call to this
function and not the current number of available send buffers.
-
virtual std::map<std::uint64_t, std::size_t> FelixClientThreadExtension520::get_available_send_buffers() = 0
Get the number of available buffers of all senders per FID.
Returns the minimum number of buffers since the last call to this function per FID.
- Returns:
Number of buffers per FID for all senders
Tip
Many FIDs might share the same connection (and therefore buffers) and will report the same number of available send buffers.
Caution
The number of receive buffers cannot be monitored.
Block decoding
In case felix-star is sending entire blocks and not decoded messages, statistics about the block
decoder (such as the number of blocks received, the number of blocks decoded, and the number of
blocks dropped) can be obtained using the
get_block_decoder_stats
function. This function returns a structure containing the statistics per FID.
-
virtual std::map<std::uint64_t, BlockDecoderStats> FelixClientThreadExtension520::get_block_decoder_stats() const = 0
Get the statistics for the block decoder.
Returns the statistics for the block decoder, such as the number of processed blocks, dropped blocks, invalid data blocks, invalid header blocks, out-of-sequence blocks, and corrupted streams if block decoding is used.
- Returns:
Block decoder statistics