CDialogState Class Reference

class CDialogState : public CBase

Inherits from

Public Member Functions
~CDialogState()
voidConnectionLost(CSIPDialogImplementation &)
TBool ErrorOccured(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &)
TBool ErrorOccured(CSIPDialogImplementation &, TInt, TUint32, TUint32, CConnectionCallback &)
TBool IncomingRequestL(CSIPDialogImplementation &, CSIPServerTransaction *, CConnectionCallback &)
TBool IncomingResponseL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &)
TBool IncomingResponseL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, TUint32, CConnectionCallback &)
voidSendAckL(CSIPInviteDialogAssoc &, const CSIPClientTransaction &, CSIPMessageElements *)
CSIPClientTransaction *SendByeL(CSIPInviteDialogAssoc &, CSIPMessageElements *)
CSIPClientTransaction *SendInviteL(const CSIPDialogImplementation &, CSIPInviteDialogAssoc &, CSIPMessageElements *)
CSIPClientTransaction *SendNonTargetRefreshRequestL(const CSIPDialogImplementation &, CSIPDialogAssocImplementation &, RStringF, CSIPMessageElements *)
CSIPClientTransaction *SendNotifyL(CSIPNotifyDialogAssoc &, CSIPMessageElements *)
CSIPClientTransaction *SendPrackL(CSIPInviteDialogAssoc &, CSIPMessageElements *)
CSIPClientTransaction *SendReferL(const CSIPDialogImplementation &, CSIPReferDialogAssoc &, CSIPMessageElements *)
voidSendResponseL(CSIPDialogImplementation &, const CSIPResponseElements &, TUint32, TBool, TBool)
CSIPClientTransaction *SendSubscribeL(const CSIPDialogImplementation &, CSIPSubscribeDialogAssoc &, CSIPMessageElements *, CSIPRefresh *)
CSIPClientTransaction *SendUnsubscribeL(CSIPSubscribeDialogAssoc &, CSIPMessageElements *)
CSIPClientTransaction *SendUpdateL(CSIPInviteDialogAssoc &, CSIPMessageElements *)
CSIPDialog::TState State()
CSIPClientTransaction *UpdateL(const CSIPDialogImplementation &, CSIPSubscribeDialogAssoc &, CSIPMessageElements *)
Protected Member Functions
CSIPInviteDialogAssoc *CheckIfForkingL(CSIPDialogImplementation &, TUint32, CSIPResponseElements *, CSIPClientTransaction &)
CSIPInviteDialogAssoc *CreateForkedInviteAssocLC(CSIPDialogImplementation &, CSIPResponseElements &)
TBool HandleErrorOccurred(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &, CDialogState &)
TBool HandleRefreshErrorOccurred(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &, CDialogState &)
TBool IncomingResponseWithinDialogL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &, const CDialogState &, const CDialogState &, const CDialogState &)
TBool RequestReceivedL(CSIPDialogImplementation &, CSIPServerTransaction *, CConnectionCallback &)
TBool ResponseToRefreshL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &, const CDialogState &, const CDialogState &, const CDialogState &)
voidSendResponseWithinDialogL(CSIPDialogImplementation &, const CSIPResponseElements &, TUint32, TBool)
Private Member Functions
CSIPClientTransaction *InvalidStateL()
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()

Constructor & Destructor Documentation

~CDialogState()

~CDialogState()[virtual]

Member Functions Documentation

CheckIfForkingL(CSIPDialogImplementation &, TUint32, CSIPResponseElements *, CSIPClientTransaction &)

CSIPInviteDialogAssoc *CheckIfForkingL(CSIPDialogImplementation &aDialog,
TUint32aDialogId,
CSIPResponseElements *aElements,
CSIPClientTransaction &aTransaction
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
TUint32 aDialogId
CSIPResponseElements * aElements
CSIPClientTransaction & aTransaction

ConnectionLost(CSIPDialogImplementation &)

voidConnectionLost(CSIPDialogImplementation &aDialog)const [pure virtual]

Parameters

CSIPDialogImplementation & aDialog

CreateForkedInviteAssocLC(CSIPDialogImplementation &, CSIPResponseElements &)

CSIPInviteDialogAssoc *CreateForkedInviteAssocLC(CSIPDialogImplementation &aDialog,
CSIPResponseElements &aElements
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
CSIPResponseElements & aElements

ErrorOccured(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &)

TBool ErrorOccured(CSIPDialogImplementation &aDialog,
TIntaError,
TUint32aRequestId,
CConnectionCallback &aCallback
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
TInt aError
TUint32 aRequestId
CConnectionCallback & aCallback

ErrorOccured(CSIPDialogImplementation &, TInt, TUint32, TUint32, CConnectionCallback &)

TBool ErrorOccured(CSIPDialogImplementation &aDialog,
TIntaError,
TUint32aRefreshId,
TUint32aRequestId,
CConnectionCallback &aCallback
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
TInt aError
TUint32 aRefreshId
TUint32 aRequestId
CConnectionCallback & aCallback

HandleErrorOccurred(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &, CDialogState &)

TBool HandleErrorOccurred(CSIPDialogImplementation &aDialog,
TIntaError,
TUint32aRequestId,
CConnectionCallback &aCallback,
CDialogState &aTerminated
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
TInt aError
TUint32 aRequestId
CConnectionCallback & aCallback
CDialogState & aTerminated

HandleRefreshErrorOccurred(CSIPDialogImplementation &, TInt, TUint32, CConnectionCallback &, CDialogState &)

TBool HandleRefreshErrorOccurred(CSIPDialogImplementation &aDialog,
TIntaError,
TUint32aRefreshId,
CConnectionCallback &aCallback,
CDialogState &aTerminated
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
TInt aError
TUint32 aRefreshId
CConnectionCallback & aCallback
CDialogState & aTerminated

IncomingRequestL(CSIPDialogImplementation &, CSIPServerTransaction *, CConnectionCallback &)

TBool IncomingRequestL(CSIPDialogImplementation &aDialog,
CSIPServerTransaction *aTransaction,
CConnectionCallback &aCallback
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
CSIPServerTransaction * aTransaction
CConnectionCallback & aCallback

IncomingResponseL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &)

TBool IncomingResponseL(CSIPDialogImplementation &aDialog,
CSIPResponseElements *aElements,
TUint32aRequestId,
TUint32aDialogId,
CConnectionCallback &aCallback
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
CSIPResponseElements * aElements
TUint32 aRequestId
TUint32 aDialogId
CConnectionCallback & aCallback

IncomingResponseL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, TUint32, CConnectionCallback &)

TBool IncomingResponseL(CSIPDialogImplementation &aDialog,
CSIPResponseElements *aElements,
TUint32aRequestId,
TUint32aRefreshId,
TUint32aDialogId,
CConnectionCallback &aCallback
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
CSIPResponseElements * aElements
TUint32 aRequestId
TUint32 aRefreshId
TUint32 aDialogId
CConnectionCallback & aCallback

IncomingResponseWithinDialogL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &, const CDialogState &, const CDialogState &, const CDialogState &)

TBool IncomingResponseWithinDialogL(CSIPDialogImplementation &aDialog,
CSIPResponseElements *aElements,
TUint32aRequestId,
TUint32aDialogId,
CConnectionCallback &aCallback,
const CDialogState &aEarly,
const CDialogState &aConfirmed,
const CDialogState &aTerminated
)const [protected]

A response within dialog has been been received. The response might create a new dialog if INVITE has forked.

Parameters

CSIPDialogImplementation & aDialogDialog instance
CSIPResponseElements * aElementsResponse elements
TUint32 aRequestIdIdentifies the transaction
TUint32 aDialogIdDialogId
CConnectionCallback & aCallbackFor selecting a callback function and its parameters
const CDialogState & aEarlyEarly state of dialog state machine
const CDialogState & aConfirmedConfirmed state of dialog state machine
const CDialogState & aTerminatedTerminated state of dialog state machine

InvalidStateL()

CSIPClientTransaction *InvalidStateL()const [private]

RequestReceivedL(CSIPDialogImplementation &, CSIPServerTransaction *, CConnectionCallback &)

TBool RequestReceivedL(CSIPDialogImplementation &aDialog,
CSIPServerTransaction *aTransaction,
CConnectionCallback &aCallback
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
CSIPServerTransaction * aTransaction
CConnectionCallback & aCallback

ResponseToRefreshL(CSIPDialogImplementation &, CSIPResponseElements *, TUint32, TUint32, CConnectionCallback &, const CDialogState &, const CDialogState &, const CDialogState &)

TBool ResponseToRefreshL(CSIPDialogImplementation &aDialog,
CSIPResponseElements *aElements,
TUint32aRequestId,
TUint32aRefreshId,
CConnectionCallback &aCallback,
const CDialogState &aEarly,
const CDialogState &aConfirmed,
const CDialogState &aTerminated
)const [protected]

A response to a refreshed request has been received.

Parameters

CSIPDialogImplementation & aDialogDialog instance
CSIPResponseElements * aElementsResponse elements
TUint32 aRequestIdIdentifies the transaction
TUint32 aRefreshIdIdentifies the refresh
CConnectionCallback & aCallbackFor selecting a callback function and its parameters
const CDialogState & aEarlyEarly state of dialog state machine
const CDialogState & aConfirmedConfirmed state of dialog state machine
const CDialogState & aTerminatedTerminated state of dialog state machine

SendAckL(CSIPInviteDialogAssoc &, const CSIPClientTransaction &, CSIPMessageElements *)

voidSendAckL(CSIPInviteDialogAssoc &aAssoc,
const CSIPClientTransaction &aTransaction,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPInviteDialogAssoc & aAssoc
const CSIPClientTransaction & aTransaction
CSIPMessageElements * aElements

SendByeL(CSIPInviteDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendByeL(CSIPInviteDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPInviteDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendInviteL(const CSIPDialogImplementation &, CSIPInviteDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendInviteL(const CSIPDialogImplementation &aDialog,
CSIPInviteDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

const CSIPDialogImplementation & aDialog
CSIPInviteDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendNonTargetRefreshRequestL(const CSIPDialogImplementation &, CSIPDialogAssocImplementation &, RStringF, CSIPMessageElements *)

CSIPClientTransaction *SendNonTargetRefreshRequestL(const CSIPDialogImplementation &aDialog,
CSIPDialogAssocImplementation &aAssoc,
RStringFaMethod,
CSIPMessageElements *aElements
)const [virtual]

Parameters

const CSIPDialogImplementation & aDialog
CSIPDialogAssocImplementation & aAssoc
RStringF aMethod
CSIPMessageElements * aElements

SendNotifyL(CSIPNotifyDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendNotifyL(CSIPNotifyDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPNotifyDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendPrackL(CSIPInviteDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendPrackL(CSIPInviteDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPInviteDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendReferL(const CSIPDialogImplementation &, CSIPReferDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendReferL(const CSIPDialogImplementation &aDialog,
CSIPReferDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

const CSIPDialogImplementation & aDialog
CSIPReferDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendResponseL(CSIPDialogImplementation &, const CSIPResponseElements &, TUint32, TBool, TBool)

voidSendResponseL(CSIPDialogImplementation &aDialog,
const CSIPResponseElements &aElements,
TUint32aRequestId,
TBoolaAffectsDialogState,
TBoolaTargetRefresh
)const [virtual]

Parameters

CSIPDialogImplementation & aDialog
const CSIPResponseElements & aElements
TUint32 aRequestId
TBool aAffectsDialogState
TBool aTargetRefresh

SendResponseWithinDialogL(CSIPDialogImplementation &, const CSIPResponseElements &, TUint32, TBool)

voidSendResponseWithinDialogL(CSIPDialogImplementation &aDialog,
const CSIPResponseElements &aElements,
TUint32aRequestId,
TBoolaTargetRefresh
)const [protected]

Parameters

CSIPDialogImplementation & aDialog
const CSIPResponseElements & aElements
TUint32 aRequestId
TBool aTargetRefresh

SendSubscribeL(const CSIPDialogImplementation &, CSIPSubscribeDialogAssoc &, CSIPMessageElements *, CSIPRefresh *)

CSIPClientTransaction *SendSubscribeL(const CSIPDialogImplementation &aDialog,
CSIPSubscribeDialogAssoc &aAssoc,
CSIPMessageElements *aElements,
CSIPRefresh *aRefresh
)const [virtual]

Parameters

const CSIPDialogImplementation & aDialog
CSIPSubscribeDialogAssoc & aAssoc
CSIPMessageElements * aElements
CSIPRefresh * aRefresh

SendUnsubscribeL(CSIPSubscribeDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendUnsubscribeL(CSIPSubscribeDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPSubscribeDialogAssoc & aAssoc
CSIPMessageElements * aElements

SendUpdateL(CSIPInviteDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *SendUpdateL(CSIPInviteDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

CSIPInviteDialogAssoc & aAssoc
CSIPMessageElements * aElements

State()

CSIPDialog::TState State()const [pure virtual]

UpdateL(const CSIPDialogImplementation &, CSIPSubscribeDialogAssoc &, CSIPMessageElements *)

CSIPClientTransaction *UpdateL(const CSIPDialogImplementation &aDialog,
CSIPSubscribeDialogAssoc &aAssoc,
CSIPMessageElements *aElements
)const [virtual]

Parameters

const CSIPDialogImplementation & aDialog
CSIPSubscribeDialogAssoc & aAssoc
CSIPMessageElements * aElements