TMceActionSet Class Reference

class TMceActionSet

MCE SIP session.

Since
Public Member Functions
TMceActionSet(CMceSipSession &)
HBufC8 *BodyToTextL()
voidCheckContactIsSecureL(CSIPTransactionBase &)
voidClientErrorOccured(TInt)
voidClientMediaStateChangedL(TMceMccComEvent *, TMceMediaEventCode)
voidClientStateChanged(TMceIds &, CMceSession::TState, TInt)
voidClientStateChangedL(CMceSession::TState, TInt)
voidClientStateChangedL(CMceSession::TState, CSIPClientTransaction &, TInt)
voidClientStateChangedL(CMceSession::TState, CSIPServerTransaction &)
voidClientStateChangedL(CMceSession::TState, CMceComSession &, CSIPClientTransaction &, TInt)
voidClientStateChangedL(CMceSession::TState, CMceComSession &, TInt)
voidClientUpdateIncomingSessionL(CSIPServerTransaction &)
voidClientUpdateSessionL(CSIPServerTransaction &, TUint32)
HBufC8 *ControlMediaL(TMceIds &, TMceItcFunctions)
voidControlMediaL(TMceIds &, TMceItcFunctions, const TDesC8 &)
voidControlMediaL(TMceIds &, TMceItcFunctions, TPtr8 &)
voidCreateBodyCandidateL(CMceComSession::TType)
TInt CreateSDP(CSIPTransactionBase &)
TMceSipWarningCode Decode()
TMceSipWarningCode DecodeL()
voidEncodeL()
TBool InterruptConfirming()
TBool IsExtensionRequest(RStringF)
TBool NeedToProcessL(TMceStateTransitionEvent &)
TBool ProcessReliableResponse(const CSIPResponseElements &)
voidProcessSessionTimerClientL(CSIPClientTransaction &)
voidProcessSessionTimerServerL(CSIPServerTransaction &)
voidReceiveExtensionError(CSIPTransactionBase &, TInt)
voidReceiveExtensionRequestL(TMceStateTransitionEvent &)
voidReceiveExtensionResponseL(CSIPClientTransaction &, CMceComSession &)
TBool ReservationNeeded()
TMceReturnStatus ReserveL()
voidResetSessionTimerL()
voidSend200OKL(CSIPServerTransaction &)
voidSendACKL(CSIPClientTransaction &)
voidSendAnswerL(CSIPServerTransaction &, CMceMsgBase &)
voidSendAnswerL(CSIPServerTransaction &)
voidSendBYEL()
voidSendBYEL(CMceMsgBase &)
TBool SendCancelL()
voidSendDeclineL(CSIPServerTransaction &, CMceMsgBase &)
voidSendExtensionRequestL(CMceMsgBase &, TMceIds &)
voidSendExtensionResponseL(CMceMsgBase &, TMceIds &)
voidSendInviteL()
voidSendInviteL(CMceComSession &)
voidSendPrackL(TBool)
voidSendRejectOfferWithWarningL(TMceSipWarningCode, CSIPServerTransaction &)
voidSendResponseL(CSIPServerTransaction &, TUint32, TInt)
TBool SendRingL(CSIPServerTransaction &, CMceMsgBase &)
voidSendSessionRefreshL()
TBool SendSipQueuedL(CSIPServerTransaction &, CMceMsgBase &)
voidSendUpdateRequestL()
voidStateChanged(TMceStateIndex)
voidStopMedia()
voidStopPendingTimer()
voidStopUpdatingMedia()
TMceReturnStatus Update()
voidUpdateBodyL(TMceIds &, CMceMsgBase &)
voidUpdateFailed()
TMceReturnStatus UpdateL()
voidUpdateSucceed()
Protected Member Functions
CMceComSession &ActiveBody()
TBool AddExtensionHeadersL(RPointerArray< CSIPHeaderBase > &, TInt, TBool, TBool, TUint)
voidAddHeadersL(CSIPMessageElements &, CDesC8Array *, TInt)
voidAddHeadersL(RPointerArray< CSIPHeaderBase > &, CDesC8Array *, TInt)
voidAddSessionTimerFieldsClientL(RPointerArray< CSIPHeaderBase > &)
voidAddSessionTimerFieldsServerL(RPointerArray< CSIPHeaderBase > &)
HBufC8 *CreateMultipartContentLC(CSdpDocument &, const TDesC8 &, const TDesC8 &)
HBufC8 *CreateSDPContentLC(CSdpDocument &)
const CSIPMessageElements *ProcessInviteL(CMceComSession &, CSIPServerTransaction &)
voidProcessSessionTimerServerL(const CSIPMessageElements &)
const CSIPMessageElements *RequestDataL(CMceComSession &, CSIPServerTransaction &)
const CSIPMessageElements *RequestDataL(CMceMsgSIPData &, CSIPServerTransaction &)
const CSIPMessageElements *ResponseDataL(CMceMsgSIPReply &, CSIPClientTransaction &, CMceComSession &)
voidSendBodyToClientL(TMceIds &, CMceComSession &, HBufC8 *)
voidSendRequestL(TInt, CMceComSession *, TBool)
TBool SendResponseL(CSIPServerTransaction &, CMceMsgSIPReply &)
voidSendSIPDataToClientL(TMceIds &, CMceMsgBase &, HBufC8 *)
voidSendWarningResponseL(const TUint, const TUint, CSIPServerTransaction &)
Private Attributes
CMceSipSession &iSession

Constructor & Destructor Documentation

TMceActionSet(CMceSipSession &)

TMceActionSet(CMceSipSession &aSession)

C++ constructor

Parameters

CMceSipSession & aSession

Member Functions Documentation

ActiveBody()

CMceComSession &ActiveBody()[protected]

Find active body for sip session.

AddExtensionHeadersL(RPointerArray< CSIPHeaderBase > &, TInt, TBool, TBool, TUint)

TBool AddExtensionHeadersL(RPointerArray< CSIPHeaderBase > &aHeaders,
TIntaTransactionType,
TBoolaIsBody,
TBoolaIsResponse = EFalse,
TUintaResponseCode =  KErrNone
)[protected]

Adds the SIP extension headers according to support of the extensions.

Parameters

RPointerArray< CSIPHeaderBase > & aHeadersSIP headers container
TInt aTransactionTypethe transaction type as SIP string constant
TBool aIsBodyETrue, if request/response will contain a body
TBool aIsResponse = EFalseETrue, if the headers are for response
TUint aResponseCode =  KErrNone the response code

AddHeadersL(CSIPMessageElements &, CDesC8Array *, TInt)

voidAddHeadersL(CSIPMessageElements &aMessageElements,
CDesC8Array *aPrimaryHeaders,
TIntaMethodInd =  KErrNotFound
)[protected]

Adds SIP headers to SIP request/response. If no headers, adds default headers

Parameters

CSIPMessageElements & aMessageElementsmessage elements of SIP request/response
CDesC8Array * aPrimaryHeadersheaders
TInt aMethodInd =  KErrNotFound if request, indicates method, whose default headers

AddHeadersL(RPointerArray< CSIPHeaderBase > &, CDesC8Array *, TInt)

voidAddHeadersL(RPointerArray< CSIPHeaderBase > &aHeaders,
CDesC8Array *aPrimaryHeaders,
TIntaMethodInd =  KErrNotFound
)[protected]

Adds SIP headers to SIP request/response. If no headers, adds default headers

Parameters

RPointerArray< CSIPHeaderBase > & aHeadersSIP headers container
CDesC8Array * aPrimaryHeadersheaders
TInt aMethodInd =  KErrNotFound if request, indicates method, whose default headers

AddSessionTimerFieldsClientL(RPointerArray< CSIPHeaderBase > &)

voidAddSessionTimerFieldsClientL(RPointerArray< CSIPHeaderBase > &aSipHeaders)[protected]

Adds session timer headers, when session is acting as client, to request

Parameters

RPointerArray< CSIPHeaderBase > & aSipHeadersSIP headers container

AddSessionTimerFieldsServerL(RPointerArray< CSIPHeaderBase > &)

voidAddSessionTimerFieldsServerL(RPointerArray< CSIPHeaderBase > &aHeaders)[protected]

Adds session timer headers, when session is acting as server, to response

Parameters

RPointerArray< CSIPHeaderBase > & aHeaders

BodyToTextL()

HBufC8 *BodyToTextL()

Encodes session body

CheckContactIsSecureL(CSIPTransactionBase &)

voidCheckContactIsSecureL(CSIPTransactionBase &aTransaction)

Check if session response contact header has sips uri or tls parameters

Parameters

CSIPTransactionBase & aTransactionsip transaction msgs

ClientErrorOccured(TInt)

voidClientErrorOccured(TIntaError)

informs client of occured severe error

Parameters

TInt aErrora reason of error

ClientMediaStateChangedL(TMceMccComEvent *, TMceMediaEventCode)

voidClientMediaStateChangedL(TMceMccComEvent *aMccEvent,
TMceMediaEventCodeaEvent = EMceMediaEventReceived
)

Informs client about new incoming session update

Parameters

TMceMccComEvent * aMccEvent
TMceMediaEventCode aEvent = EMceMediaEventReceived

ClientStateChanged(TMceIds &, CMceSession::TState, TInt)

voidClientStateChanged(TMceIds &aIds,
CMceSession::TStateaNewState,
TIntaStatus =  KErrNone
)

Changes client state synchronously as a response to client's ITC call

Parameters

TMceIds & aIdsset of ids defining ITC call context
CMceSession::TState aNewStatenew client state
TInt aStatus =  KErrNone status

ClientStateChangedL(CMceSession::TState, TInt)

voidClientStateChangedL(CMceSession::TStateaNewState,
TIntaReason =  KErrNone
)

Changes client state. This is called when there is no SIP data for client explaining the reason of state change. This happens, for example, when client is establishing session and there is no response, but media manager fails in offer creation.

Parameters

CMceSession::TState aNewStatenew client state
TInt aReason =  KErrNone a reason of state change

ClientStateChangedL(CMceSession::TState, CSIPClientTransaction &, TInt)

voidClientStateChangedL(CMceSession::TStateaNewState,
CSIPClientTransaction &aResponse,
TIntaReason =  KErrNone
)

Changes client state. This is called when there is SIP response explaining the reason of state change. If handling of response fails (error) reason is used for identifying the problem.

Parameters

CMceSession::TState aNewStatenew client state
CSIPClientTransaction & aResponseSIP response
TInt aReason =  KErrNone a reason of state change

ClientStateChangedL(CMceSession::TState, CSIPServerTransaction &)

voidClientStateChangedL(CMceSession::TStateaNewState,
CSIPServerTransaction &aRequest
)

Changes client state. This is called when there is SIP request explaining the reason of state change. Only BYE is supported. This method should not be used when handling INVITE request, becauseINVITE causes always new incoming session creation and thus state change is always EIncoming.

Parameters

CMceSession::TState aNewStatenew client state
CSIPServerTransaction & aRequestSIP request

ClientStateChangedL(CMceSession::TState, CMceComSession &, CSIPClientTransaction &, TInt)

voidClientStateChangedL(CMceSession::TStateaNewState,
CMceComSession &aBody,
CSIPClientTransaction &aResponse,
TIntaReason =  KErrNone
)

Changes client state. Used in session update. This is called when there is SIP response explaining the reason of state change and client session (body) must be updated because of it. If handling of response has been failed (error) reason is used for identifying the problem. If reason is other than KErrNone, EMceItcUpdateFailed is used in callback.

Parameters

CMceSession::TState aNewStatenew client state
CMceComSession & aBodyclient session
CSIPClientTransaction & aResponseSIP response
TInt aReason =  KErrNone a reason of state change

ClientStateChangedL(CMceSession::TState, CMceComSession &, TInt)

voidClientStateChangedL(CMceSession::TStateaNewState,
CMceComSession &aBody,
TIntaReason
)

Changes client state. Used in session update. This is called when client session (body) must be updated. This happens, for example, when client is updating session, but media manager fails in update creation and rollback is needed. EMceItcUpdateFailed call back is used always used in callback.

Parameters

CMceSession::TState aNewStatenew client state
CMceComSession & aBodyclient session
TInt aReasona reason of state change

ClientUpdateIncomingSessionL(CSIPServerTransaction &)

voidClientUpdateIncomingSessionL(CSIPServerTransaction &aInvite)

Informs client about new incoming session

Parameters

CSIPServerTransaction & aInviteserver transaction

ClientUpdateSessionL(CSIPServerTransaction &, TUint32)

voidClientUpdateSessionL(CSIPServerTransaction &aInvite,
TUint32aCallback = EMceItcIncomingUpdate
)

Informs client about new incoming session update

Parameters

CSIPServerTransaction & aInviteserver transaction
TUint32 aCallback = EMceItcIncomingUpdatecallback for client

ControlMediaL(TMceIds &, TMceItcFunctions)

HBufC8 *ControlMediaL(TMceIds &aIds,
TMceItcFunctionsaAction
)

Handles ITC function, which controls media

Parameters

TMceIds & aIdsset of ids defining ITC call context
TMceItcFunctions aActionITC function defining the action

ControlMediaL(TMceIds &, TMceItcFunctions, const TDesC8 &)

voidControlMediaL(TMceIds &aIds,
TMceItcFunctionsaAction,
const TDesC8 &aMessage
)

Handles ITC function, which controls media

Parameters

TMceIds & aIdsset of ids defining ITC call context
TMceItcFunctions aActionITC function defining the action
const TDesC8 & aMessagemessage

ControlMediaL(TMceIds &, TMceItcFunctions, TPtr8 &)

voidControlMediaL(TMceIds &aIds,
TMceItcFunctionsaAction,
TPtr8 &aMessage
)

Handles ITC function, which controls media

Parameters

TMceIds & aIdsset of ids defining ITC call context
TMceItcFunctions aActionITC function defining the action
TPtr8 & aMessagemessage

CreateBodyCandidateL(CMceComSession::TType)

voidCreateBodyCandidateL(CMceComSession::TTypeaType)

Create body candidate for session update.

Parameters

CMceComSession::TType aTypethe direction of the body candidate

CreateMultipartContentLC(CSdpDocument &, const TDesC8 &, const TDesC8 &)

HBufC8 *CreateMultipartContentLC(CSdpDocument &aDocument,
const TDesC8 &aUserContentType,
const TDesC8 &aUserContent
)[protected]

Creates multipart-mixed content

Parameters

CSdpDocument & aDocumentSDP document
const TDesC8 & aUserContentTypeuser defined content type to be mixed in
const TDesC8 & aUserContentuser content to be mixed in

CreateSDP(CSIPTransactionBase &)

TInt CreateSDP(CSIPTransactionBase &aSDPContainer)

Creates SDP document based on client/server transaction

Parameters

CSIPTransactionBase & aSDPContainertransaction containing SDP document in its content

CreateSDPContentLC(CSdpDocument &)

HBufC8 *CreateSDPContentLC(CSdpDocument &aDocument)[protected]

Converts SDP document to text

Parameters

CSdpDocument & aDocumentSDP document

Decode()

TMceSipWarningCode Decode()

Decode body from SDP, which is created with method CreateSDP() and stored as session offer.

DecodeL()

TMceSipWarningCode DecodeL()

Decode body from SDP, which is created with method CreateSDP() and stored as session offer.

EncodeL()

voidEncodeL()

Encode body to SDP. Encoded body can me obtained with Offer() method.

InterruptConfirming()

TBool InterruptConfirming()

Seize re-sending UPDATE/PRACK.

IsExtensionRequest(RStringF)

TBool IsExtensionRequest(RStringFmethod)

Finds if the Request is Extenssion Request

Parameters

RStringF method

NeedToProcessL(TMceStateTransitionEvent &)

TBool NeedToProcessL(TMceStateTransitionEvent &aEvent)

Handle Reliable Response

Parameters

TMceStateTransitionEvent & aEvent

ProcessInviteL(CMceComSession &, CSIPServerTransaction &)

const CSIPMessageElements *ProcessInviteL(CMceComSession &aBody,
CSIPServerTransaction &aInvite
)[protected]

Processes invite

Parameters

CMceComSession & aBodysession body
CSIPServerTransaction & aInvitethe invite

ProcessReliableResponse(const CSIPResponseElements &)

TBool ProcessReliableResponse(const CSIPResponseElements &aResponseElements)

Process the ReliableResponse

Parameters

const CSIPResponseElements & aResponseElements

ProcessSessionTimerClientL(CSIPClientTransaction &)

voidProcessSessionTimerClientL(CSIPClientTransaction &aResponse)

Process session timer data in received response

Parameters

CSIPClientTransaction & aResponsethe response

ProcessSessionTimerServerL(CSIPServerTransaction &)

voidProcessSessionTimerServerL(CSIPServerTransaction &aRequest)

Process session timer data in received INVITE

Parameters

CSIPServerTransaction & aRequestthe request

ProcessSessionTimerServerL(const CSIPMessageElements &)

voidProcessSessionTimerServerL(const CSIPMessageElements &aElements)[protected]

Process session timer data in received INVITE

Parameters

const CSIPMessageElements & aElementsmessage elements

ReceiveExtensionError(CSIPTransactionBase &, TInt)

voidReceiveExtensionError(CSIPTransactionBase &aTransaction,
TIntaError
)

Receive Error for an Extension Request sent. Error Can be anything like ICMP, SIP Timeout.

Parameters

CSIPTransactionBase & aTransaction
TInt aError

ReceiveExtensionRequestL(TMceStateTransitionEvent &)

voidReceiveExtensionRequestL(TMceStateTransitionEvent &aEvent)

Receive Response to the Extension Requests sent.

Parameters

TMceStateTransitionEvent & aEvent

ReceiveExtensionResponseL(CSIPClientTransaction &, CMceComSession &)

voidReceiveExtensionResponseL(CSIPClientTransaction &aResponse,
CMceComSession &aBody
)

Receive Responses to the Extnesion request sent.

Parameters

CSIPClientTransaction & aResponse
CMceComSession & aBodysession body

RequestDataL(CMceComSession &, CSIPServerTransaction &)

const CSIPMessageElements *RequestDataL(CMceComSession &aContainer,
CSIPServerTransaction &aRequest
)[protected]

Fills session body from SIP request

Parameters

CMceComSession & aContainersession body
CSIPServerTransaction & aRequestSIP request

RequestDataL(CMceMsgSIPData &, CSIPServerTransaction &)

const CSIPMessageElements *RequestDataL(CMceMsgSIPData &aContainer,
CSIPServerTransaction &aRequest
)[protected]

Fills client (request) data from SIP request

Parameters

CMceMsgSIPData & aContainerclient (request) data
CSIPServerTransaction & aRequestSIP request

ReservationNeeded()

TBool ReservationNeeded()

Returns truth value, reservation needed.

ReserveL()

TMceReturnStatus ReserveL()

Reserve resources

ResetSessionTimerL()

voidResetSessionTimerL()

Resets session timer

ResponseDataL(CMceMsgSIPReply &, CSIPClientTransaction &, CMceComSession &)

const CSIPMessageElements *ResponseDataL(CMceMsgSIPReply &aReply,
CSIPClientTransaction &aResponse,
CMceComSession &aBody
)[protected]

Fills client reply from SIP response

Parameters

CMceMsgSIPReply & aReplyclient reply
CSIPClientTransaction & aResponseSIP response
CMceComSession & aBody

Send200OKL(CSIPServerTransaction &)

voidSend200OKL(CSIPServerTransaction &aRequest)

Sends 200OK reponse (to BYE)

Parameters

CSIPServerTransaction & aRequestserver transaction

SendACKL(CSIPClientTransaction &)

voidSendACKL(CSIPClientTransaction &aResponse)

Sends ACK to response (2XX)

Parameters

CSIPClientTransaction & aResponseclient transaction

SendAnswerL(CSIPServerTransaction &, CMceMsgBase &)

voidSendAnswerL(CSIPServerTransaction &aRequest,
CMceMsgBase &aReply
)

Sends answer to offer carried by INVITE This is called when client accepts (EMceItcAcceptSession)

Parameters

CSIPServerTransaction & aRequestserver transaction
CMceMsgBase & aReplyuser defined response (CMceMsgSIPReply)

SendAnswerL(CSIPServerTransaction &)

voidSendAnswerL(CSIPServerTransaction &aRequest)

Sends answer to offer carried by re-INVITE

Parameters

CSIPServerTransaction & aRequestthe re-invite

SendBYEL()

voidSendBYEL()

Sends BYE with default headers

SendBYEL(CMceMsgBase &)

voidSendBYEL(CMceMsgBase &aData)

Sends BYE with client defined headers and content This is called when client terminates (EMceItcTerminateSession)

Parameters

CMceMsgBase & aDatadata containing headers

SendBodyToClientL(TMceIds &, CMceComSession &, HBufC8 *)

voidSendBodyToClientL(TMceIds &aIds,
CMceComSession &aBody,
HBufC8 *aContent
)[protected]

Sends session body via callback mechanism to client (session)

Parameters

TMceIds & aIdsset of ids defining ITC callback context
CMceComSession & aBodysession body
HBufC8 * aContentcontent of message

SendCancelL()

TBool SendCancelL()

Sends CANCEL

SendDeclineL(CSIPServerTransaction &, CMceMsgBase &)

voidSendDeclineL(CSIPServerTransaction &aRequest,
CMceMsgBase &aReply
)

Sends 603 Decline or user response to request (INVITE)

Parameters

CSIPServerTransaction & aRequestserver transaction
CMceMsgBase & aReplyuser defined response (CMceMsgSIPReply)

SendExtensionRequestL(CMceMsgBase &, TMceIds &)

voidSendExtensionRequestL(CMceMsgBase &aData,
TMceIds &aIds
)

Sends Extension Request

Parameters

CMceMsgBase & aDataSIP data
TMceIds & aIdsset of ids defining ITC call context

SendExtensionResponseL(CMceMsgBase &, TMceIds &)

voidSendExtensionResponseL(CMceMsgBase &aData,
TMceIds &aIds
)

Sends a response to the extension requests received

Parameters

CMceMsgBase & aDataSIP data
TMceIds & aIdsset of ids defining ITC call context

SendInviteL()

voidSendInviteL()

Sends INVITE with SDP

SendInviteL(CMceComSession &)

voidSendInviteL(CMceComSession &aData)

Sends INVITE

Parameters

CMceComSession & aDatasession body for creation of SDP content

SendPrackL(TBool)

voidSendPrackL(TBoolaContent = ETrue)

Sends PRACK

Parameters

TBool aContent = ETrueif ETrue, use content in PRACK

SendRejectOfferWithWarningL(TMceSipWarningCode, CSIPServerTransaction &)

voidSendRejectOfferWithWarningL(TMceSipWarningCodeaReason,
CSIPServerTransaction &aInvite
)

Sends rejection 488 Not Acceptable Here to offer with warning, if warning is assigned to one of 3xx warnings. If warning is assigned to 4xx, 5xx or 6xx it is been interpretet as response code.

Parameters

TMceSipWarningCode aReasonreason why 488 or response code is sent
CSIPServerTransaction & aInviteserver transaction

SendRequestL(TInt, CMceComSession *, TBool)

voidSendRequestL(TIntaMethod,
CMceComSession *aData = NULL,
TBoolaContent = ETrue
)[protected]

Sends specified request. Supports INVITE, PRACK and UPDATE.

Parameters

TInt aMethod
CMceComSession * aData = NULL
TBool aContent = ETrueif ETrue, use content in request

SendResponseL(CSIPServerTransaction &, TUint32, TInt)

voidSendResponseL(CSIPServerTransaction &aRequest,
TUint32aCode,
TIntaReason
)

Sends a response to request (INVITE). For responses sent automatically by state machine, not for those coming from client.

Parameters

CSIPServerTransaction & aRequestserver transaction
TUint32 aCodethe reason code
TInt aReasonthe reasn phrase as string pool index

SendResponseL(CSIPServerTransaction &, CMceMsgSIPReply &)

TBool SendResponseL(CSIPServerTransaction &aRequest,
CMceMsgSIPReply &aResponse
)[protected]

Sends response to request.

Parameters

CSIPServerTransaction & aRequestthe request
CMceMsgSIPReply & aResponsethe response from client

SendRingL(CSIPServerTransaction &, CMceMsgBase &)

TBool SendRingL(CSIPServerTransaction &aRequest,
CMceMsgBase &aReply
)

Sends 180 Ringing to request (INVITE)

Parameters

CSIPServerTransaction & aRequestserver transaction
CMceMsgBase & aReplyuser defined response (CMceMsgSIPReply)

SendSIPDataToClientL(TMceIds &, CMceMsgBase &, HBufC8 *)

voidSendSIPDataToClientL(TMceIds &aIds,
CMceMsgBase &aData,
HBufC8 *aContent
)[protected]

Sends SIP data via callback mechanism to client (session)

Parameters

TMceIds & aIdsset of ids defining ITC callback context
CMceMsgBase & aDataSIP data
HBufC8 * aContentcontent of message

SendSessionRefreshL()

voidSendSessionRefreshL()

Sends re-invite indicating session refresh

SendSipQueuedL(CSIPServerTransaction &, CMceMsgBase &)

TBool SendSipQueuedL(CSIPServerTransaction &aRequest,
CMceMsgBase &aReply
)

Sends 182 SipQueued message to request (INVITE)

Parameters

CSIPServerTransaction & aRequestserver transaction
CMceMsgBase & aReplyuser defined response (CMceMsgSIPReply)

SendUpdateRequestL()

voidSendUpdateRequestL()

Sends UPDATE

SendWarningResponseL(const TUint, const TUint, CSIPServerTransaction &)

voidSendWarningResponseL(const TUintaResponseCode,
const TUintaWarnCode,
CSIPServerTransaction &aRequest
)[protected]

Sends warning response to request.

Parameters

const TUint aResponseCodethe response code
const TUint aWarnCodethe warning code
CSIPServerTransaction & aRequestthe request

StateChanged(TMceStateIndex)

voidStateChanged(TMceStateIndexaNewState)

Changes server state

Parameters

TMceStateIndex aNewStatenew server state

StopMedia()

voidStopMedia()

Stops all media

StopPendingTimer()

voidStopPendingTimer()

Stop pending timer

StopUpdatingMedia()

voidStopUpdatingMedia()

Update()

TMceReturnStatus Update()

Update media manager according to body

UpdateBodyL(TMceIds &, CMceMsgBase &)

voidUpdateBodyL(TMceIds &aIds,
CMceMsgBase &aBody
)

Update clients parameters in body

Parameters

TMceIds & aIdsset of ids defining ITC call context
CMceMsgBase & aBodyclient session

UpdateFailed()

voidUpdateFailed()

Called when update has been failed

UpdateL()

TMceReturnStatus UpdateL()

Update media manager according to body

UpdateSucceed()

voidUpdateSucceed()

Called when update has been succeed

Member Data Documentation

CMceSipSession & iSession

CMceSipSession &iSession[private]