CDialogState Class Reference

class CDialogState : public CBase

Inherits from

Public Member Functions
~CDialogState ()
void ConnectionLost ( 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 &)
void SendAckL ( 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 *)
void SendResponseL ( 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 &)
void SendResponseWithinDialogL ( 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,
TUint32 aDialogId,
CSIPResponseElements * aElements,
CSIPClientTransaction & aTransaction
) const [protected]

Parameters

CSIPDialogImplementation & aDialog
TUint32 aDialogId
CSIPResponseElements * aElements
CSIPClientTransaction & aTransaction

ConnectionLost(CSIPDialogImplementation &)

void ConnectionLost ( 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,
TInt aError,
TUint32 aRequestId,
CConnectionCallback & aCallback
) const [virtual]

Parameters

CSIPDialogImplementation & aDialog
TInt aError
TUint32 aRequestId
CConnectionCallback & aCallback

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

TBool ErrorOccured ( CSIPDialogImplementation & aDialog,
TInt aError,
TUint32 aRefreshId,
TUint32 aRequestId,
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,
TInt aError,
TUint32 aRequestId,
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,
TInt aError,
TUint32 aRefreshId,
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]

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

TBool IncomingResponseL ( CSIPDialogImplementation & aDialog,
CSIPResponseElements * aElements,
TUint32 aRequestId,
TUint32 aDialogId,
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,
TUint32 aRequestId,
TUint32 aRefreshId,
TUint32 aDialogId,
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,
TUint32 aRequestId,
TUint32 aDialogId,
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 & aDialog Dialog instance
CSIPResponseElements * aElements Response elements
TUint32 aRequestId Identifies the transaction
TUint32 aDialogId DialogId
CConnectionCallback & aCallback For selecting a callback function and its parameters
const CDialogState & aEarly Early state of dialog state machine
const CDialogState & aConfirmed Confirmed state of dialog state machine
const CDialogState & aTerminated Terminated state of dialog state machine

InvalidStateL()

CSIPClientTransaction * InvalidStateL ( ) const [private]

RequestReceivedL(CSIPDialogImplementation &, CSIPServerTransaction *, CConnectionCallback &)

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

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

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

A response to a refreshed request has been received.

Parameters

CSIPDialogImplementation & aDialog Dialog instance
CSIPResponseElements * aElements Response elements
TUint32 aRequestId Identifies the transaction
TUint32 aRefreshId Identifies the refresh
CConnectionCallback & aCallback For selecting a callback function and its parameters
const CDialogState & aEarly Early state of dialog state machine
const CDialogState & aConfirmed Confirmed state of dialog state machine
const CDialogState & aTerminated Terminated state of dialog state machine

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

void SendAckL ( 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]

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

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

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)

void SendResponseL ( CSIPDialogImplementation & aDialog,
const CSIPResponseElements & aElements,
TUint32 aRequestId,
TBool aAffectsDialogState,
TBool aTargetRefresh
) const [virtual]

Parameters

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

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

void SendResponseWithinDialogL ( CSIPDialogImplementation & aDialog,
const CSIPResponseElements & aElements,
TUint32 aRequestId,
TBool aTargetRefresh
) 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]

SendUnsubscribeL(CSIPSubscribeDialogAssoc &, CSIPMessageElements *)

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

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]