|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Keeps track of various statistics on the stack's operation, and periodically issues a StatisticsMessage to the TransactionUser (or, if the ExternalStatsHandler is set, it will be sent there). More...
#include <StatisticsManager.hxx>
Public Types | |
| enum | Measurement { TransportFifoSize , TUFifoSize , ActiveTimers , OpenTcpConnections , ActiveClientTransactions , ActiveServerTransactions , PendingDnsQueries , StatsMemUsed } |
Public Types inherited from resip::StatisticsMessage::Payload | |
| enum | { MaxCode = 700 } |
Public Member Functions | |
| StatisticsManager (SipStack &stack, unsigned long intervalSecs=60) | |
| ~StatisticsManager () | |
| void | process () |
| void | setInterval (unsigned long intvSecs) |
| void | setExternalStatsHandler (ExternalStatsHandler *handler) |
| Allows the application to set the ExternalStatsHandler for this StatisticsManager. | |
Public Member Functions inherited from resip::StatisticsMessage::Payload | |
| Payload () | |
| unsigned int | sum2xxIn (MethodTypes method) const |
| unsigned int | sumErrIn (MethodTypes method) const |
| unsigned int | sum2xxOut (MethodTypes method) const |
| unsigned int | sumErrOut (MethodTypes method) const |
| void | zeroOut () |
| Payload & | operator= (const Payload &payload) |
Friends | |
| class | TransactionState |
Keeps track of various statistics on the stack's operation, and periodically issues a StatisticsMessage to the TransactionUser (or, if the ExternalStatsHandler is set, it will be sent there).
Definition at line 20 of file StatisticsManager.hxx.
| Enumerator | |
|---|---|
| TransportFifoSize | |
| TUFifoSize | |
| ActiveTimers | |
| OpenTcpConnections | |
| ActiveClientTransactions | |
| ActiveServerTransactions | |
| PendingDnsQueries | |
| StatsMemUsed | |
Definition at line 24 of file StatisticsManager.hxx.
| StatisticsManager::StatisticsManager | ( | SipStack & | stack, |
| unsigned long | intervalSecs = 60 |
||
| ) |
Definition at line 16 of file StatisticsManager.cxx.
| StatisticsManager::~StatisticsManager | ( | ) |
Definition at line 25 of file StatisticsManager.cxx.
| void StatisticsManager::process | ( | ) |
Definition at line 85 of file StatisticsManager.cxx.
| void StatisticsManager::setInterval | ( | unsigned long | intvSecs | ) |
Definition at line 32 of file StatisticsManager.cxx.
|
friend |
Definition at line 54 of file StatisticsManager.hxx.