CSIPSecResponseHandler Class Reference

class CSIPSecResponseHandler : public CBase

Inherits from

  • CSIPSecResponseHandler
Public Member Functions
~CSIPSecResponseHandler()
voidCacheUpdated(TBool, TBool)
voidCancelPendingOperations(MSIPSecObserver &)
voidCompleted(TBool)
CSIPSecResponseHandler *NewLC(MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const TDesC8 &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId, TTransactionId)
voidSAReady(TBool)
TBool StartResponseProcessingL()
Private Member Functions
CSIPSecResponseHandler(MSIPSecObserver &, MResponseHandlerOwner &, MSIPSecMechanismStore &, TSIPTransportParams &, TInetAddr &, const CUri8 &, const TDesC8 &, MSIPSecUser &, CSIPResponse &, CSIPRequest &, TRegistrationId, TTransactionId)
voidCancelPendingPluginOperations()
TBool CheckAuthenticateHeaders(CSIPResponse &, RStringF)
voidCheckResponseL(CSIPResponse &)
voidConstructL(const TDesC8 &)
voidFirstAsyncPhaseL()
voidSecondAsyncPhaseL()
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,
TRegistrationIdaRegistrationId,
TTransactionIdaTransactionId
)[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)

voidCacheUpdated(TBoolaSuccess,
TBoolaUseSecurityServerHeaders
)

Parameters

TBool aSuccess
TBool aUseSecurityServerHeaders

CancelPendingOperations(MSIPSecObserver &)

voidCancelPendingOperations(MSIPSecObserver &aObserver)

Parameters

MSIPSecObserver & aObserver

CancelPendingPluginOperations()

voidCancelPendingPluginOperations()[private]

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

CheckAuthenticateHeaders(CSIPResponse &, RStringF)

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

Parameters

CSIPResponse & aResponse
RStringF aHeaderName

CheckResponseL(CSIPResponse &)

voidCheckResponseL(CSIPResponse &aResponse)const [private]

Parameters

CSIPResponse & aResponse

Completed(TBool)

voidCompleted(TBoolaSuccess)

Parameters

TBool aSuccess

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aNextHop)[private]

Parameters

const TDesC8 & aNextHop

FirstAsyncPhaseL()

voidFirstAsyncPhaseL()[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,
TRegistrationIdaRegistrationId,
TTransactionIdaTransactionId
)[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)

voidSAReady(TBoolaSuccess)

Parameters

TBool aSuccess

SecondAsyncPhaseL()

voidSecondAsyncPhaseL()[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]