1#ifndef RESIP_StatisticsMessage_hxx
2#define RESIP_StatisticsMessage_hxx
A base-class for messages used by applications.
The base-class used for message-passing.
void loadOut(Payload &payload) const
void loadIn(const Payload &payload)
virtual ~StatisticsMessage()
virtual EncodeStream & encodeBrief(EncodeStream &str) const
output a brief description to stream
void loadOut(Payload &payload) const
static void logStats(const Subsystem &subsystem, const Payload &stats)
RESIP_HeapCount(StatisticsMessage)
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
friend EncodeStream & operator<<(EncodeStream &strm, const StatisticsMessage::Payload &stats)
Class used to specify what sub-system given sections of code belong to, for use by the logging system...
dcm! – add UnusedChecking(_enum) below;
std::mutex Mutex
A semaphore that can be locked by only one thread at a time.
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)
unsigned int responsesSentByMethod[MAX_METHODS]
unsigned int responsesReceived
unsigned int requestsReceived
unsigned int sum2xxOut(MethodTypes method) const
unsigned int pendingDnsQueries
unsigned int activeClientTransactions
unsigned int responsesSent
unsigned int responsesRetransmitted
unsigned int responsesSentByMethodByCode[MAX_METHODS][MaxCode]
unsigned int transportFifoSizeSum
unsigned int requestsSentByMethod[MAX_METHODS]
unsigned int responsesRetransmittedByMethod[MAX_METHODS]
unsigned int responsesByCode[MaxCode]
unsigned int activeTimers
unsigned int sum2xxIn(MethodTypes method) const
unsigned int responsesReceivedByMethodByCode[MAX_METHODS][MaxCode]
unsigned int requestsRetransmitted
unsigned int transactionFifoSize
unsigned int requestsRetransmittedByMethod[MAX_METHODS]
unsigned int responsesRetransmittedByMethodByCode[MAX_METHODS][MaxCode]
unsigned int sumErrIn(MethodTypes method) const
Payload & operator=(const Payload &payload)
unsigned int requestsSent
unsigned int sumErrOut(MethodTypes method) const
unsigned int requestsReceivedByMethod[MAX_METHODS]
unsigned int activeServerTransactions
unsigned int openTcpConnections
unsigned int responsesReceivedByMethod[MAX_METHODS]