CSIPITCReceiverBase Class Reference

class CSIPITCReceiverBase : public CActive

Inherits from

Public Member Functions
~CSIPITCReceiverBase()
voidRemoveHttpDigestObserver()
voidSetHttpDigestObserver(MSIPHttpDigestChallengeObserver &)
voidSetHttpDigestObserver(MSIPHttpDigestChallengeObserver2 &)
Protected Member Functions
CSIPITCReceiverBase(MSIPITC &)
voidErrorOccuredL(TSIPIds &, TInt)
voidIncomingRequestL(TSIPIds &, CSIPRequestElements *)
voidIncomingResponseL(TSIPIds &, CSIPResponseElements *)
Private Member Functions
voidChallengeReceivedL(TSIPIds &)
voidDetachContent(TAny *)
voidDoCancel()
voidIncomingMessageL(TSIPIds &)
voidIncomingRequestL(RReadStream &, HBufC8 *, TSIPIds &)
voidIncomingResponseL(RReadStream &, HBufC8 *, TSIPIds &)
voidReadHeadersAndContentLC(HBufC8 *&, HBufC8 *&)
voidReceiveNext()
TInt RunError(TInt)
voidRunL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
Inherited Enumerations
CActive:TPriority
Protected Attributes
MSIPHttpDigestChallengeObserver2 *iHttpDigestObserver2
Private Attributes
MSIPHttpDigestChallengeObserver *iHttpDigestObserver
MSIPITC &iITC
TIpcArgs iITCMsgArgs
TPckgBuf< TSIPIds >iIdsPckg
TPckgBuf< TSIPMessageBufSizes >iSizesPckg
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CSIPITCReceiverBase(MSIPITC &)

CSIPITCReceiverBase(MSIPITC &aITC)[protected]

Parameters

MSIPITC & aITC

~CSIPITCReceiverBase()

~CSIPITCReceiverBase()[virtual]

Member Functions Documentation

ChallengeReceivedL(TSIPIds &)

voidChallengeReceivedL(TSIPIds &aIds)[private]

Parameters

TSIPIds & aIds

DetachContent(TAny *)

voidDetachContent(TAny *aElements)[private, static]

Parameters

TAny * aElements

DoCancel()

voidDoCancel()[private, virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().

CActive::Cancel

ErrorOccuredL(TSIPIds &, TInt)

voidErrorOccuredL(TSIPIds &aIds,
TIntaError
)[protected, pure virtual]

Parameters

TSIPIds & aIds
TInt aError

IncomingMessageL(TSIPIds &)

voidIncomingMessageL(TSIPIds &aIds)[private]

Parameters

TSIPIds & aIds

IncomingRequestL(TSIPIds &, CSIPRequestElements *)

voidIncomingRequestL(TSIPIds &aIds,
CSIPRequestElements *aRequest
)[protected, pure virtual]

Parameters

TSIPIds & aIds
CSIPRequestElements * aRequest

IncomingRequestL(RReadStream &, HBufC8 *, TSIPIds &)

voidIncomingRequestL(RReadStream &aReadStream,
HBufC8 *aContent,
TSIPIds &aIds
)[private]

Parameters

RReadStream & aReadStream
HBufC8 * aContent
TSIPIds & aIds

IncomingResponseL(TSIPIds &, CSIPResponseElements *)

voidIncomingResponseL(TSIPIds &aIds,
CSIPResponseElements *aResponse
)[protected, pure virtual]

Parameters

TSIPIds & aIds
CSIPResponseElements * aResponse

IncomingResponseL(RReadStream &, HBufC8 *, TSIPIds &)

voidIncomingResponseL(RReadStream &aReadStream,
HBufC8 *aContent,
TSIPIds &aIds
)[private]

Parameters

RReadStream & aReadStream
HBufC8 * aContent
TSIPIds & aIds

ReadHeadersAndContentLC(HBufC8 *&, HBufC8 *&)

voidReadHeadersAndContentLC(HBufC8 *&aHeaders,
HBufC8 *&aContent
)[private]

Parameters

HBufC8 *& aHeaders
HBufC8 *& aContent

ReceiveNext()

voidReceiveNext()[private]

RemoveHttpDigestObserver()

voidRemoveHttpDigestObserver()

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD

SetHttpDigestObserver(MSIPHttpDigestChallengeObserver &)

voidSetHttpDigestObserver(MSIPHttpDigestChallengeObserver &aObserver)

Parameters

MSIPHttpDigestChallengeObserver & aObserver

SetHttpDigestObserver(MSIPHttpDigestChallengeObserver2 &)

voidSetHttpDigestObserver(MSIPHttpDigestChallengeObserver2 &aObserver)

Parameters

MSIPHttpDigestChallengeObserver2 & aObserver

Member Data Documentation

MSIPHttpDigestChallengeObserver * iHttpDigestObserver

MSIPHttpDigestChallengeObserver *iHttpDigestObserver[private]

MSIPHttpDigestChallengeObserver2 * iHttpDigestObserver2

MSIPHttpDigestChallengeObserver2 *iHttpDigestObserver2[protected]

MSIPITC & iITC

MSIPITC &iITC[private]

TIpcArgs iITCMsgArgs

TIpcArgs iITCMsgArgs[private]

TPckgBuf< TSIPIds > iIdsPckg

TPckgBuf< TSIPIds >iIdsPckg[private]

TPckgBuf< TSIPMessageBufSizes > iSizesPckg

TPckgBuf< TSIPMessageBufSizes >iSizesPckg[private]