reSIProcate/DialogUsageManager  9694
Public Member Functions | Private Attributes
resip::ChallengeInfo Class Reference

#include <ChallengeInfo.hxx>

Inheritance diagram for resip::ChallengeInfo:
Inheritance graph
[legend]
Collaboration diagram for resip::ChallengeInfo:
Collaboration graph
[legend]

List of all members.

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::Messageclone () const
virtual std::ostream & encode (std::ostream &strm) const
virtual std::ostream & encodeBrief (std::ostream &strm) const

Private Attributes

bool mFailed
bool mChallengeRequired

Detailed Description

Definition at line 10 of file ChallengeInfo.hxx.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

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;
}

Here is the call graph for this function:

std::ostream & ChallengeInfo::encodeBrief ( std::ostream &  strm) const [virtual]

Definition at line 63 of file ChallengeInfo.cxx.

References encode().

{
   return encode(strm);
}

Here is the call graph for this function:

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;
}

Member Data Documentation

Definition at line 29 of file ChallengeInfo.hxx.

Referenced by brief(), and isChallengeRequired().

Definition at line 28 of file ChallengeInfo.hxx.

Referenced by brief(), and isFailed().


The documentation for this class was generated from the following files: