13#define RESIPROCATE_SUBSYSTEM Subsystem::DUM
18 const Data& transactionId):
31 const Data& transactionId):
53 mTu = transactionUser;
86 errorCode = mErrorCode;
87 errorStatusText = mErrorStatusText;
97 if (errorCode > 0 && !statusText.
empty())
99 mErrorCode = errorCode;
100 mErrorStatusText = statusText;
120 strm <<
"UserAuthInfo " << mUser <<
" @ " << mRealm <<
" A1=" << mA1;
#define resip_assert(x)
This file needs to work for both C and C++ code.
constexpr const char * ServerErrorStatusText
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool empty() const noexcept
Checks whether the Data is empty.
dcm! – what is the intent of ApplicationMessage, especially as used in
The base-class used for message-passing.
The base-class for an RFC 3261 Transaction User.
const void getErrorInfo(int32_t &errorCode, resip::Data &errorStatusText) const
void setMode(InfoMode mode, int32_t errorCode=0, const resip::Data &statusText=resip::Data::Empty)
virtual resip::Message * clone() const
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
const resip::Data & getUser() const
const resip::Data & getRealm() const
void setA1(const resip::Data &a1)
virtual EncodeStream & encodeBrief(EncodeStream &strm) const
output a brief description to stream
UserAuthInfo(const resip::Data &user, const resip::Data &realm, InfoMode mode, const resip::Data &transactionId)
const resip::Data & getA1() const
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)