TMceActionSet Class Reference

class TMceActionSet

MCE SIP session.

Since
Public Member Functions
TMceActionSet ( CMceSipSession &)
HBufC8 * BodyToTextL ()
void CheckContactIsSecureL ( CSIPTransactionBase &)
void ClientErrorOccured ( TInt )
void ClientMediaStateChangedL ( TMceMccComEvent *, TMceMediaEventCode )
void ClientStateChanged ( TMceIds &, CMceSession::TState , TInt )
void ClientStateChangedL ( CMceSession::TState , TInt )
void ClientStateChangedL ( CMceSession::TState , CSIPClientTransaction &, TInt )
void ClientStateChangedL ( CMceSession::TState , CSIPServerTransaction &)
void ClientStateChangedL ( CMceSession::TState , CMceComSession &, CSIPClientTransaction &, TInt )
void ClientStateChangedL ( CMceSession::TState , CMceComSession &, TInt )
void ClientUpdateIncomingSessionL ( CSIPServerTransaction &)
void ClientUpdateSessionL ( CSIPServerTransaction &, TUint32 )
HBufC8 * ControlMediaL ( TMceIds &, TMceItcFunctions )
void ControlMediaL ( TMceIds &, TMceItcFunctions , const TDesC8 &)
void ControlMediaL ( TMceIds &, TMceItcFunctions , TPtr8 &)
void CreateBodyCandidateL ( CMceComSession::TType )
TInt CreateSDP ( CSIPTransactionBase &)
TMceSipWarningCode Decode ()
TMceSipWarningCode DecodeL ()
void EncodeL ()
TBool InterruptConfirming ()
TBool IsExtensionRequest ( RStringF )
TBool NeedToProcessL ( TMceStateTransitionEvent &)
TBool ProcessReliableResponse (const CSIPResponseElements &)
void ProcessSessionTimerClientL ( CSIPClientTransaction &)
void ProcessSessionTimerServerL ( CSIPServerTransaction &)
void ReceiveExtensionError ( CSIPTransactionBase &, TInt )
void ReceiveExtensionRequestL ( TMceStateTransitionEvent &)
void ReceiveExtensionResponseL ( CSIPClientTransaction &, CMceComSession &)
TBool ReservationNeeded ()
TMceReturnStatus ReserveL ()
void ResetSessionTimerL ()
void Send200OKL ( CSIPServerTransaction &)
void SendACKL ( CSIPClientTransaction &)
void SendAnswerL ( CSIPServerTransaction &, CMceMsgBase &)
void SendAnswerL ( CSIPServerTransaction &)
void SendBYEL ()
void SendBYEL ( CMceMsgBase &)
TBool SendCancelL ()
void SendDeclineL ( CSIPServerTransaction &, CMceMsgBase &)
void SendExtensionRequestL ( CMceMsgBase &, TMceIds &)
void SendExtensionResponseL ( CMceMsgBase &, TMceIds &)
void SendInviteL ()
void SendInviteL ( CMceComSession &)
void SendPrackL ( TBool )
void SendRejectOfferWithWarningL ( TMceSipWarningCode , CSIPServerTransaction &)
void SendResponseL ( CSIPServerTransaction &, TUint32 , TInt )
TBool SendRingL ( CSIPServerTransaction &, CMceMsgBase &)
void SendSessionRefreshL ()
TBool SendSipQueuedL ( CSIPServerTransaction &, CMceMsgBase &)
void SendUpdateRequestL ()
void StateChanged ( TMceStateIndex )
void StopMedia ()
void StopPendingTimer ()
void StopUpdatingMedia ()
TMceReturnStatus Update ()
void UpdateBodyL ( TMceIds &, CMceMsgBase &)
void UpdateFailed ()
TMceReturnStatus UpdateL ()
void UpdateSucceed ()
Protected Member Functions
CMceComSession & ActiveBody ()
TBool AddExtensionHeadersL ( RPointerArray < CSIPHeaderBase > &, TInt , TBool , TBool , TUint )
void AddHeadersL ( CSIPMessageElements &, CDesC8Array *, TInt )
void AddHeadersL ( RPointerArray < CSIPHeaderBase > &, CDesC8Array *, TInt )
void AddSessionTimerFieldsClientL ( RPointerArray < CSIPHeaderBase > &)
void AddSessionTimerFieldsServerL ( RPointerArray < CSIPHeaderBase > &)
HBufC8 * CreateMultipartContentLC ( CSdpDocument &, const TDesC8 &, const TDesC8 &)
HBufC8 * CreateSDPContentLC ( CSdpDocument &)
const CSIPMessageElements * ProcessInviteL ( CMceComSession &, CSIPServerTransaction &)
void ProcessSessionTimerServerL (const CSIPMessageElements &)
const CSIPMessageElements * RequestDataL ( CMceComSession &, CSIPServerTransaction &)
const CSIPMessageElements * RequestDataL ( CMceMsgSIPData &, CSIPServerTransaction &)
const CSIPMessageElements * ResponseDataL ( CMceMsgSIPReply &, CSIPClientTransaction &, CMceComSession &)
void SendBodyToClientL ( TMceIds &, CMceComSession &, HBufC8 *)
void SendRequestL ( TInt , CMceComSession *, TBool )
TBool SendResponseL ( CSIPServerTransaction &, CMceMsgSIPReply &)
void SendSIPDataToClientL ( TMceIds &, CMceMsgBase &, HBufC8 *)
void SendWarningResponseL (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,
TInt aTransactionType,
TBool aIsBody,
TBool aIsResponse = EFalse,
TUint aResponseCode =  KErrNone
) [protected]

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

Parameters

RPointerArray < CSIPHeaderBase > & aHeaders SIP headers container
TInt aTransactionType the transaction type as SIP string constant
TBool aIsBody ETrue, if request/response will contain a body
TBool aIsResponse = EFalse ETrue, if the headers are for response
TUint aResponseCode =  KErrNone the response code

AddHeadersL(CSIPMessageElements &, CDesC8Array *, TInt)

void AddHeadersL ( CSIPMessageElements & aMessageElements,
CDesC8Array * aPrimaryHeaders,
TInt aMethodInd =  KErrNotFound
) [protected]

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

Parameters

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

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

void AddHeadersL ( RPointerArray < CSIPHeaderBase > & aHeaders,
CDesC8Array * aPrimaryHeaders,
TInt aMethodInd =  KErrNotFound
) [protected]

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

Parameters

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

AddSessionTimerFieldsClientL(RPointerArray< CSIPHeaderBase > &)

void AddSessionTimerFieldsClientL ( RPointerArray < CSIPHeaderBase > & aSipHeaders ) [protected]

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

Parameters

RPointerArray < CSIPHeaderBase > & aSipHeaders SIP headers container

AddSessionTimerFieldsServerL(RPointerArray< CSIPHeaderBase > &)

void AddSessionTimerFieldsServerL ( 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 &)

void CheckContactIsSecureL ( CSIPTransactionBase & aTransaction )

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

Parameters

CSIPTransactionBase & aTransaction sip transaction msgs

ClientErrorOccured(TInt)

void ClientErrorOccured ( TInt aError )

informs client of occured severe error

Parameters

TInt aError a reason of error

ClientMediaStateChangedL(TMceMccComEvent *, TMceMediaEventCode)

void ClientMediaStateChangedL ( TMceMccComEvent * aMccEvent,
TMceMediaEventCode aEvent = EMceMediaEventReceived
)

Informs client about new incoming session update

Parameters

TMceMccComEvent * aMccEvent
TMceMediaEventCode aEvent = EMceMediaEventReceived

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

void ClientStateChanged ( TMceIds & aIds,
CMceSession::TState aNewState,
TInt aStatus =  KErrNone
)

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

Parameters

TMceIds & aIds set of ids defining ITC call context
CMceSession::TState aNewState new client state
TInt aStatus =  KErrNone status

ClientStateChangedL(CMceSession::TState, TInt)

void ClientStateChangedL ( CMceSession::TState aNewState,
TInt aReason =  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 aNewState new client state
TInt aReason =  KErrNone a reason of state change

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

void ClientStateChangedL ( CMceSession::TState aNewState,
CSIPClientTransaction & aResponse,
TInt aReason =  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 aNewState new client state
CSIPClientTransaction & aResponse SIP response
TInt aReason =  KErrNone a reason of state change

ClientStateChangedL(CMceSession::TState, CSIPServerTransaction &)

void ClientStateChangedL ( CMceSession::TState aNewState,
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 aNewState new client state
CSIPServerTransaction & aRequest SIP request

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

void ClientStateChangedL ( CMceSession::TState aNewState,
CMceComSession & aBody,
CSIPClientTransaction & aResponse,
TInt aReason =  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 aNewState new client state
CMceComSession & aBody client session
CSIPClientTransaction & aResponse SIP response
TInt aReason =  KErrNone a reason of state change

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

void ClientStateChangedL ( CMceSession::TState aNewState,
CMceComSession & aBody,
TInt aReason
)

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 aNewState new client state
CMceComSession & aBody client session
TInt aReason a reason of state change

ClientUpdateIncomingSessionL(CSIPServerTransaction &)

void ClientUpdateIncomingSessionL ( CSIPServerTransaction & aInvite )

Informs client about new incoming session

Parameters

CSIPServerTransaction & aInvite server transaction

ClientUpdateSessionL(CSIPServerTransaction &, TUint32)

void ClientUpdateSessionL ( CSIPServerTransaction & aInvite,
TUint32 aCallback = EMceItcIncomingUpdate
)

Informs client about new incoming session update

Parameters

CSIPServerTransaction & aInvite server transaction
TUint32 aCallback = EMceItcIncomingUpdate callback for client

ControlMediaL(TMceIds &, TMceItcFunctions)

HBufC8 * ControlMediaL ( TMceIds & aIds,
TMceItcFunctions aAction
)

Handles ITC function, which controls media

Parameters

TMceIds & aIds set of ids defining ITC call context
TMceItcFunctions aAction ITC function defining the action

ControlMediaL(TMceIds &, TMceItcFunctions, const TDesC8 &)

void ControlMediaL ( TMceIds & aIds,
TMceItcFunctions aAction,
const TDesC8 & aMessage
)

Handles ITC function, which controls media

Parameters

TMceIds & aIds set of ids defining ITC call context
TMceItcFunctions aAction ITC function defining the action
const TDesC8 & aMessage message

ControlMediaL(TMceIds &, TMceItcFunctions, TPtr8 &)

void ControlMediaL ( TMceIds & aIds,
TMceItcFunctions aAction,
TPtr8 & aMessage
)

Handles ITC function, which controls media

Parameters

TMceIds & aIds set of ids defining ITC call context
TMceItcFunctions aAction ITC function defining the action
TPtr8 & aMessage message

CreateBodyCandidateL(CMceComSession::TType)

void CreateBodyCandidateL ( CMceComSession::TType aType )

Create body candidate for session update.

Parameters

CMceComSession::TType aType the 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 & aDocument SDP document
const TDesC8 & aUserContentType user defined content type to be mixed in
const TDesC8 & aUserContent user content to be mixed in

CreateSDP(CSIPTransactionBase &)

TInt CreateSDP ( CSIPTransactionBase & aSDPContainer )

Creates SDP document based on client/server transaction

Parameters

CSIPTransactionBase & aSDPContainer transaction containing SDP document in its content

CreateSDPContentLC(CSdpDocument &)

HBufC8 * CreateSDPContentLC ( CSdpDocument & aDocument ) [protected]

Converts SDP document to text

Parameters

CSdpDocument & aDocument SDP 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()

void EncodeL ( )

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

InterruptConfirming()

TBool InterruptConfirming ( )

Seize re-sending UPDATE/PRACK.

IsExtensionRequest(RStringF)

TBool IsExtensionRequest ( RStringF method )

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 & aBody session body
CSIPServerTransaction & aInvite the invite

ProcessReliableResponse(const CSIPResponseElements &)

TBool ProcessReliableResponse ( const CSIPResponseElements & aResponseElements )

Process the ReliableResponse

Parameters

const CSIPResponseElements & aResponseElements

ProcessSessionTimerClientL(CSIPClientTransaction &)

void ProcessSessionTimerClientL ( CSIPClientTransaction & aResponse )

Process session timer data in received response

Parameters

CSIPClientTransaction & aResponse the response

ProcessSessionTimerServerL(CSIPServerTransaction &)

void ProcessSessionTimerServerL ( CSIPServerTransaction & aRequest )

Process session timer data in received INVITE

Parameters

CSIPServerTransaction & aRequest the request

ProcessSessionTimerServerL(const CSIPMessageElements &)

void ProcessSessionTimerServerL ( const CSIPMessageElements & aElements ) [protected]

Process session timer data in received INVITE

Parameters

const CSIPMessageElements & aElements message elements

ReceiveExtensionError(CSIPTransactionBase &, TInt)

void ReceiveExtensionError ( CSIPTransactionBase & aTransaction,
TInt aError
)

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

Parameters

CSIPTransactionBase & aTransaction
TInt aError

ReceiveExtensionRequestL(TMceStateTransitionEvent &)

void ReceiveExtensionRequestL ( TMceStateTransitionEvent & aEvent )

Receive Response to the Extension Requests sent.

Parameters

TMceStateTransitionEvent & aEvent

ReceiveExtensionResponseL(CSIPClientTransaction &, CMceComSession &)

void ReceiveExtensionResponseL ( CSIPClientTransaction & aResponse,
CMceComSession & aBody
)

Receive Responses to the Extnesion request sent.

Parameters

CSIPClientTransaction & aResponse
CMceComSession & aBody session body

RequestDataL(CMceComSession &, CSIPServerTransaction &)

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

Fills session body from SIP request

Parameters

CMceComSession & aContainer session body
CSIPServerTransaction & aRequest SIP request

RequestDataL(CMceMsgSIPData &, CSIPServerTransaction &)

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

Fills client (request) data from SIP request

Parameters

CMceMsgSIPData & aContainer client (request) data
CSIPServerTransaction & aRequest SIP request

ReservationNeeded()

TBool ReservationNeeded ( )

Returns truth value, reservation needed.

ReserveL()

TMceReturnStatus ReserveL ( )

Reserve resources

ResetSessionTimerL()

void ResetSessionTimerL ( )

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 & aReply client reply
CSIPClientTransaction & aResponse SIP response
CMceComSession & aBody

Send200OKL(CSIPServerTransaction &)

void Send200OKL ( CSIPServerTransaction & aRequest )

Sends 200OK reponse (to BYE)

Parameters

CSIPServerTransaction & aRequest server transaction

SendACKL(CSIPClientTransaction &)

void SendACKL ( CSIPClientTransaction & aResponse )

Sends ACK to response (2XX)

Parameters

CSIPClientTransaction & aResponse client transaction

SendAnswerL(CSIPServerTransaction &, CMceMsgBase &)

void SendAnswerL ( CSIPServerTransaction & aRequest,
CMceMsgBase & aReply
)

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

Parameters

CSIPServerTransaction & aRequest server transaction
CMceMsgBase & aReply user defined response (CMceMsgSIPReply)

SendAnswerL(CSIPServerTransaction &)

void SendAnswerL ( CSIPServerTransaction & aRequest )

Sends answer to offer carried by re-INVITE

Parameters

CSIPServerTransaction & aRequest the re-invite

SendBYEL()

void SendBYEL ( )

Sends BYE with default headers

SendBYEL(CMceMsgBase &)

void SendBYEL ( CMceMsgBase & aData )

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

Parameters

CMceMsgBase & aData data containing headers

SendBodyToClientL(TMceIds &, CMceComSession &, HBufC8 *)

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

Sends session body via callback mechanism to client (session)

Parameters

TMceIds & aIds set of ids defining ITC callback context
CMceComSession & aBody session body
HBufC8 * aContent content of message

SendCancelL()

TBool SendCancelL ( )

Sends CANCEL

SendDeclineL(CSIPServerTransaction &, CMceMsgBase &)

void SendDeclineL ( CSIPServerTransaction & aRequest,
CMceMsgBase & aReply
)

Sends 603 Decline or user response to request (INVITE)

Parameters

CSIPServerTransaction & aRequest server transaction
CMceMsgBase & aReply user defined response (CMceMsgSIPReply)

SendExtensionRequestL(CMceMsgBase &, TMceIds &)

void SendExtensionRequestL ( CMceMsgBase & aData,
TMceIds & aIds
)

Sends Extension Request

Parameters

CMceMsgBase & aData SIP data
TMceIds & aIds set of ids defining ITC call context

SendExtensionResponseL(CMceMsgBase &, TMceIds &)

void SendExtensionResponseL ( CMceMsgBase & aData,
TMceIds & aIds
)

Sends a response to the extension requests received

Parameters

CMceMsgBase & aData SIP data
TMceIds & aIds set of ids defining ITC call context

SendInviteL()

void SendInviteL ( )

Sends INVITE with SDP

SendInviteL(CMceComSession &)

void SendInviteL ( CMceComSession & aData )

Sends INVITE

Parameters

CMceComSession & aData session body for creation of SDP content

SendPrackL(TBool)

void SendPrackL ( TBool aContent = ETrue )

Sends PRACK

Parameters

TBool aContent = ETrue if ETrue, use content in PRACK

SendRejectOfferWithWarningL(TMceSipWarningCode, CSIPServerTransaction &)

void SendRejectOfferWithWarningL ( TMceSipWarningCode aReason,
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 aReason reason why 488 or response code is sent
CSIPServerTransaction & aInvite server transaction

SendRequestL(TInt, CMceComSession *, TBool)

void SendRequestL ( TInt aMethod,
CMceComSession * aData = NULL,
TBool aContent = ETrue
) [protected]

Sends specified request. Supports INVITE, PRACK and UPDATE.

Parameters

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

SendResponseL(CSIPServerTransaction &, TUint32, TInt)

void SendResponseL ( CSIPServerTransaction & aRequest,
TUint32 aCode,
TInt aReason
)

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

Parameters

CSIPServerTransaction & aRequest server transaction
TUint32 aCode the reason code
TInt aReason the reasn phrase as string pool index

SendResponseL(CSIPServerTransaction &, CMceMsgSIPReply &)

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

Sends response to request.

Parameters

CSIPServerTransaction & aRequest the request
CMceMsgSIPReply & aResponse the response from client

SendRingL(CSIPServerTransaction &, CMceMsgBase &)

TBool SendRingL ( CSIPServerTransaction & aRequest,
CMceMsgBase & aReply
)

Sends 180 Ringing to request (INVITE)

Parameters

CSIPServerTransaction & aRequest server transaction
CMceMsgBase & aReply user defined response (CMceMsgSIPReply)

SendSIPDataToClientL(TMceIds &, CMceMsgBase &, HBufC8 *)

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

Sends SIP data via callback mechanism to client (session)

Parameters

TMceIds & aIds set of ids defining ITC callback context
CMceMsgBase & aData SIP data
HBufC8 * aContent content of message

SendSessionRefreshL()

void SendSessionRefreshL ( )

Sends re-invite indicating session refresh

SendSipQueuedL(CSIPServerTransaction &, CMceMsgBase &)

TBool SendSipQueuedL ( CSIPServerTransaction & aRequest,
CMceMsgBase & aReply
)

Sends 182 SipQueued message to request (INVITE)

Parameters

CSIPServerTransaction & aRequest server transaction
CMceMsgBase & aReply user defined response (CMceMsgSIPReply)

SendUpdateRequestL()

void SendUpdateRequestL ( )

Sends UPDATE

SendWarningResponseL(const TUint, const TUint, CSIPServerTransaction &)

void SendWarningResponseL ( const TUint aResponseCode,
const TUint aWarnCode,
CSIPServerTransaction & aRequest
) [protected]

Sends warning response to request.

Parameters

const TUint aResponseCode the response code
const TUint aWarnCode the warning code
CSIPServerTransaction & aRequest the request

StateChanged(TMceStateIndex)

void StateChanged ( TMceStateIndex aNewState )

Changes server state

Parameters

TMceStateIndex aNewState new server state

StopMedia()

void StopMedia ( )

Stops all media

StopPendingTimer()

void StopPendingTimer ( )

Stop pending timer

StopUpdatingMedia()

void StopUpdatingMedia ( )

Update()

TMceReturnStatus Update ( )

Update media manager according to body

UpdateBodyL(TMceIds &, CMceMsgBase &)

void UpdateBodyL ( TMceIds & aIds,
CMceMsgBase & aBody
)

Update clients parameters in body

Parameters

TMceIds & aIds set of ids defining ITC call context
CMceMsgBase & aBody client session

UpdateFailed()

void UpdateFailed ( )

Called when update has been failed

UpdateL()

TMceReturnStatus UpdateL ( )

Update media manager according to body

UpdateSucceed()

void UpdateSucceed ( )

Called when update has been succeed

Member Data Documentation

CMceSipSession & iSession

CMceSipSession & iSession [private]