Working with Session Statistics

The Solace C API provides various statistics for each session, which can be useful when debugging applications. For a list of all supported session statistics, see Solace Messaging APIs to access the documentation for the Solace C API.

To get session statistics, use the following functions:

  • solClient_session_getTxStats(...) - Gets the session TX statistics.
  • solClient_session_getRxStat() - Gets the session RX statistics.
  • solClient_flow_getRxStats() - Gets the flow RX statistics.