1#if defined(HAVE_CONFIG_H)
11 : mTransactionId(transactionId),
13 mDuration(duration) {}
18 return mTransactionId;
79 return str <<
"Timer: " <<
Timer::toData(mType) <<
" " << mDuration;
84 return strm <<
"TimerMessage TransactionId[" << mTransactionId <<
"] "
86 <<
" duration[" << mDuration <<
"]";
#define resip_assert(x)
This file needs to work for both C and C++ code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
bool isClientTransaction() const
virtual const Data & getTransactionId() const
TimerMessage(Data transactionId, Timer::Type type, unsigned long duration)
unsigned long getDuration() const
Timer::Type getType() const
virtual EncodeStream & encodeBrief(EncodeStream &str) const
output a brief description to stream
static Data toData(Type timer)
dcm! – add UnusedChecking(_enum) below;