|
reSIProcate/DialogUsageManager
9694
|
#include <ChallengeInfo.hxx>


Public Member Functions | |
| ChallengeInfo (bool failed, bool challengeRequired, const Data &transactionId) | |
| ~ChallengeInfo () | |
| bool | isFailed () const |
| bool | isChallengeRequired () const |
| virtual resip::Data | brief () const |
| virtual resip::Message * | clone () const |
| virtual std::ostream & | encode (std::ostream &strm) const |
| virtual std::ostream & | encodeBrief (std::ostream &strm) const |
Private Attributes | |
| bool | mFailed |
| bool | mChallengeRequired |
Definition at line 10 of file ChallengeInfo.hxx.
| ChallengeInfo::ChallengeInfo | ( | bool | failed, |
| bool | challengeRequired, | ||
| const Data & | transactionId | ||
| ) |
Definition at line 14 of file ChallengeInfo.cxx.
: DumFeatureMessage(transactionId), mFailed(failed), mChallengeRequired(challengeRequired) { }
| ChallengeInfo::~ChallengeInfo | ( | ) |
Definition at line 23 of file ChallengeInfo.cxx.
{
}
| Data ChallengeInfo::brief | ( | ) | const [virtual] |
Reimplemented from resip::Message.
Definition at line 40 of file ChallengeInfo.cxx.
References mChallengeRequired, and mFailed.
Referenced by encode(), and resip::ServerAuthManager::process().
{
Data buffer;
DataStream strm(buffer);
strm << "ChallengeInfo " << mFailed << " : " << mChallengeRequired;
strm.flush();
return buffer;
}
| resip::Message * ChallengeInfo::clone | ( | ) | const [virtual] |
Reimplemented from resip::DumFeatureMessage.
Definition at line 50 of file ChallengeInfo.cxx.
{
assert(false); return NULL;
}
| std::ostream & ChallengeInfo::encode | ( | std::ostream & | strm | ) | const [virtual] |
Definition at line 56 of file ChallengeInfo.cxx.
References brief().
Referenced by encodeBrief().
{
strm << brief();
return strm;
}

| std::ostream & ChallengeInfo::encodeBrief | ( | std::ostream & | strm | ) | const [virtual] |
Definition at line 63 of file ChallengeInfo.cxx.
References encode().
{
return encode(strm);
}

| bool ChallengeInfo::isChallengeRequired | ( | ) | const |
Definition at line 34 of file ChallengeInfo.cxx.
References mChallengeRequired.
Referenced by resip::ServerAuthManager::process().
{
return mChallengeRequired;
}
| bool ChallengeInfo::isFailed | ( | ) | const |
Definition at line 28 of file ChallengeInfo.cxx.
References mFailed.
Referenced by resip::ServerAuthManager::process().
{
return mFailed;
}
bool resip::ChallengeInfo::mChallengeRequired [private] |
Definition at line 29 of file ChallengeInfo.hxx.
Referenced by brief(), and isChallengeRequired().
bool resip::ChallengeInfo::mFailed [private] |
Definition at line 28 of file ChallengeInfo.hxx.
Referenced by brief(), and isFailed().
1.7.5.1