2#if defined(HAVE_CONFIG_H)
20#define RESIPROCATE_SUBSYSTEM Subsystem::TRANSACTION
38 delete mTimers.top().getMessage();
50 DebugLog (<<
"Adding timer: " <<
Timer::toData(type) <<
" tid=" << transactionId <<
" ms=" << msOffset);
70 delete mTimers.top().getMessage();
79 DebugLog(<<
"Adding application timer: " << payload->
brief() <<
" ms=" << timeMs);
115 delete mTimers.top().getMessage();
124 DebugLog(<<
"Adding application timer: " << payload->
brief() <<
" ms=" << timeMs);
126 return mTimers.top().getWhen();
#define resip_assert(x)
This file needs to work for both C and C++ code.
uint64_t add(unsigned int timeMs, Message *payload)
~BaseTimeLimitTimerQueue()
virtual void addToFifo(Message *, TimeLimitFifo< Message >::DepthUsage)=0
virtual void processTimer(const TimerWithPayload &timer)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
DtlsTimerQueue(Fifo< DtlsMessage > &fifo)
uint64_t add(SSL *, unsigned long msOffset)
virtual void processTimer(const TimerWithPayload &timer)
A templated, threadsafe message-queue class.
The base-class used for message-passing.
virtual Brief brief() const
return a facet for brief encoding of message
TimeLimitTimerQueue(TimeLimitFifo< Message > &fifo)
virtual void addToFifo(Message *, TimeLimitFifo< Message >::DepthUsage)
std::priority_queue< TimerWithPayload, TimerVector, std::greater< TimerWithPayload > > mTimers
Message * getMessage() const
static Data toData(Type timer)
uint64_t add(Timer::Type type, const Data &transactionId, unsigned long msOffset)
TransactionTimerQueue(Fifo< TimerMessage > &fifo)
virtual void processTimer(const TransactionTimer &timer)
unsigned long getDuration() const
Timer::Type getType() const
const Data & getTransactionId() const
TuSelectorTimerQueue(TuSelector &sel)
virtual void processTimer(const TimerWithPayload &timer)
uint64_t add(unsigned int timeMs, Message *payload)
void add(Message *msg, TimeLimitFifo< Message >::DepthUsage usage)
dcm! – add UnusedChecking(_enum) below;
unsigned long long uint64_t