CSIPSecResponseHandler Class Reference

class CSIPSecResponseHandler : public CBase

Inherits from

Public Member Functions
~CSIPSecResponseHandler ()
void CacheUpdated ( TBool , TBool )
void CancelPendingOperations ( MSIPSecObserver &)
void Completed ( TBool )
CSIPSecResponseHandler * NewLC ( MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const TDesC8 &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId , TTransactionId )
void SAReady ( TBool )
TBool StartResponseProcessingL ()
Private Member Functions
CSIPSecResponseHandler ( MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId , TTransactionId )
void CancelPendingPluginOperations ()
TBool CheckAuthenticateHeaders ( CSIPResponse &, RStringF )
void CheckResponseL ( CSIPResponse &)
void ConstructL (const TDesC8 &)
void FirstAsyncPhaseL ()
void SecondAsyncPhaseL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
MSIPSecMechanismStore & iMechanismStore
HBufC8 * iNextHop
MSIPSecObserver & iObserver
MResponseHandlerOwner & iOwner
TInt iPendingAsyncRequests
TRegistrationId iRegistrationId
CSIPRequest & iRequest
TSIPSecResponseContext iResponseContext
TBool iSuccess
TTransactionId iTransactionId
TSIPTransportParams & iTransportParams
TBool iUseSecurityServerHeaders

Constructor & Destructor Documentation

CSIPSecResponseHandler(MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId, TTransactionId)

CSIPSecResponseHandler ( MSIPSecObserver & aObserver,
MResponseHandlerOwner & aOwner,
MSIPSecMechanismStore & aMechanismStore,
TSIPTransportParams & aTransportParams,
TInetAddr & aNextHopAddr,
const CUri8 & aRemoteTarget,
const TDesC8 & aOutboundProxy,
MSIPSecUser & aUser,
CSIPResponse & aResponse,
CSIPRequest & aRequest,
TRegistrationId aRegistrationId,
TTransactionId aTransactionId
) [private]

Parameters

MSIPSecObserver & aObserver
MResponseHandlerOwner & aOwner
MSIPSecMechanismStore & aMechanismStore
TSIPTransportParams & aTransportParams
TInetAddr & aNextHopAddr
const CUri8 & aRemoteTarget
const TDesC8 & aOutboundProxy
MSIPSecUser & aUser
CSIPResponse & aResponse
CSIPRequest & aRequest
TRegistrationId aRegistrationId
TTransactionId aTransactionId

~CSIPSecResponseHandler()

~CSIPSecResponseHandler ( )

Member Functions Documentation

CacheUpdated(TBool, TBool)

void CacheUpdated ( TBool aSuccess,
TBool aUseSecurityServerHeaders
)

Parameters

TBool aSuccess
TBool aUseSecurityServerHeaders

CancelPendingOperations(MSIPSecObserver &)

void CancelPendingOperations ( MSIPSecObserver & aObserver )

Parameters

MSIPSecObserver & aObserver

CancelPendingPluginOperations()

void CancelPendingPluginOperations ( ) [private]

Cancel all such pending asynchronous operations in the plugins, that were initiated by this CSIPSecResponseHandler instance.

CheckAuthenticateHeaders(CSIPResponse &, RStringF)

TBool CheckAuthenticateHeaders ( CSIPResponse & aResponse,
RStringF aHeaderName
) const [private]

Parameters

CSIPResponse & aResponse
RStringF aHeaderName

CheckResponseL(CSIPResponse &)

void CheckResponseL ( CSIPResponse & aResponse ) const [private]

Parameters

CSIPResponse & aResponse

Completed(TBool)

void Completed ( TBool aSuccess )

Parameters

TBool aSuccess

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aNextHop ) [private]

Parameters

const TDesC8 & aNextHop

FirstAsyncPhaseL()

void FirstAsyncPhaseL ( ) [private]

NewLC(MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const TDesC8 &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId, TTransactionId)

CSIPSecResponseHandler * NewLC ( MSIPSecObserver & aObserver,
MResponseHandlerOwner & aOwner,
MSIPSecMechanismStore & aMechanismStore,
TSIPTransportParams & aTransportParams,
TInetAddr & aNextHopAddr,
const TDesC8 & aNextHop,
const CUri8 & aRemoteTarget,
const TDesC8 & aOutboundProxy,
MSIPSecUser & aUser,
CSIPResponse & aResponse,
CSIPRequest & aRequest,
TRegistrationId aRegistrationId,
TTransactionId aTransactionId
) [static]

Parameters

MSIPSecObserver & aObserver
MResponseHandlerOwner & aOwner
MSIPSecMechanismStore & aMechanismStore
TSIPTransportParams & aTransportParams
TInetAddr & aNextHopAddr
const TDesC8 & aNextHop
const CUri8 & aRemoteTarget
const TDesC8 & aOutboundProxy
MSIPSecUser & aUser
CSIPResponse & aResponse
CSIPRequest & aRequest
TRegistrationId aRegistrationId
TTransactionId aTransactionId

SAReady(TBool)

void SAReady ( TBool aSuccess )

Parameters

TBool aSuccess

SecondAsyncPhaseL()

void SecondAsyncPhaseL ( ) [private]

StartResponseProcessingL()

TBool StartResponseProcessingL ( )

Process the SIP response. Processing may happen synchronously or it may go asynchronous if a plugin needs to do time consuming processing.

Member Data Documentation

MSIPSecMechanismStore & iMechanismStore

MSIPSecMechanismStore & iMechanismStore [private]

HBufC8 * iNextHop

HBufC8 * iNextHop [private]

MSIPSecObserver & iObserver

MSIPSecObserver & iObserver [private]

MResponseHandlerOwner & iOwner

MResponseHandlerOwner & iOwner [private]

TInt iPendingAsyncRequests

TInt iPendingAsyncRequests [private]

TRegistrationId iRegistrationId

TRegistrationId iRegistrationId [private]

CSIPRequest & iRequest

CSIPRequest & iRequest [private]

TSIPSecResponseContext iResponseContext

TSIPSecResponseContext iResponseContext [private]

TBool iSuccess

TBool iSuccess [private]

TTransactionId iTransactionId

TTransactionId iTransactionId [private]

TSIPTransportParams & iTransportParams

TSIPTransportParams & iTransportParams [private]

TBool iUseSecurityServerHeaders

TBool iUseSecurityServerHeaders [private]