1#if defined(HAVE_CONFIG_H)
14#define RESIPROCATE_SUBSYSTEM Subsystem::TRANSACTION
19 mInterval(intervalSecs*1000),
20 mNextPoll(
Timer::getTimeMs() + mInterval),
21 mExternalHandler(NULL),
28 delete mPublicPayload;
34 mInterval = intervalSecs * 1000;
39StatisticsManager::poll()
53 if ( mPublicPayload==NULL )
58 mPublicPayload->
loadIn(*
this);
60 bool postToStack =
true;
65 if( mExternalHandler )
67 postToStack = (*mExternalHandler)(msg);
78 if(mStack.mCongestionManager)
90 mNextPoll += mInterval;
107 if (code < 0 || code >=
MaxCode)
154 if (code < 0 || code >=
MaxCode)
virtual void logCurrentState() const =0
Log the current state of all monitored fifos.
Represents a SIP message.
bool isRequest() const
Returns true if message is a request, false otherwise.
const RequestLine & header(const RequestLineType &l) const
Returns the RequestLine. This is only valid for request messages.
bool isResponse() const
Returns true if message is a response, false otherwise.
const RequestLine & const_header(const RequestLineType &l) const
resip::MethodTypes method() const
returns the method type of the message
This is the primary point of interaction between the app-layer and the stack.
void post(std::unique_ptr< ApplicationMessage > message, unsigned int secondsLater, TransactionUser *tu=0)
Makes the message available to the TU at some later time, specified in seconds.
StatisticsManager(SipStack &stack, unsigned long intervalSecs=60)
void setInterval(unsigned long intvSecs)
void loadIn(const Payload &payload)
This class is used to get the current system time.
static uint64_t getTimeMs()
Returns the current clock time in milliseconds.
unsigned int getTransactionFifoSize() const
unsigned int getTuFifoSize() const
unsigned int getNumClientTransactions() const
unsigned int getNumServerTransactions() const
unsigned int sumTransportFifoSizes() const
unsigned int getTimerQueueSize() const
dcm! – add UnusedChecking(_enum) below;
StatusLineType h_StatusLine
unsigned int responsesSentByMethod[MAX_METHODS]
unsigned int responsesReceived
unsigned int requestsReceived
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 activeTimers
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 requestsSent
unsigned int requestsReceivedByMethod[MAX_METHODS]
unsigned int activeServerTransactions
unsigned int responsesReceivedByMethod[MAX_METHODS]