CMceRefer Class Reference
class CMceRefer : public CBase
|
Base class for MCE refers, inherited by both
CMceInRefer
and
CMceOutRefer
.
CMceRefer
represents peer-to-peer connection made with remote terminal. This connection is also known as dialog and it is set up using SIP REFER method.
MCE refers are typically used for asking remote terminal to perform some action. One such action is session transfer.
The refer is finally terminated by the endpoint performing the action. Refer can implicitically also create an event which is used to inform how the action proceeds. In such case refer and event and tied together and are finally terminated simultaneously.
If for any reason instance of this class is deleted while in active state, event is automatically terminated by MCE server.
mceclient.lib
Constructor & Destructor Documentation
CMceRefer(CMceManager &, TUint32, TUint32, TType)
Member Functions Documentation
AssociatedEventsL()
Returns the associated events, if any.
AssociatedRefersL()
Returns the associated refers, if any.
AssociatedSession()
Returns the associated session, if any.
ConstructL(HBufC8 *, HBufC8 *, HBufC8 *, CDesC8Array *)
DetachReferEvent()
void
|
DetachReferEvent
|
(
|
)
|
|
ErrorOccuredL(TInt)
void
|
ErrorOccuredL
|
(
|
TInt
|
aError
|
)
|
|
EventReceivedL(TMceIds &)
void
|
EventReceivedL
|
(
|
TMceIds
&
|
aId
|
)
|
|
Handles reception of event update
Parameters
TMceIds
& aId
|
id of object whose state is needed to be updated
|
EventReceivedL(TMceIds &, CMceMsgBase &)
Handles reception of event update
Parameters
TMceIds
& aId
|
id of object whose state is needed to be updated
|
CMceMsgBase
& aMessage
|
the message
|
EventReceivedL(TMceIds &, CMceMsgBase &, HBufC8 *)
Handles reception of event update
Parameters
TMceIds
& aId
|
id of object whose state is needed to be updated
|
CMceMsgBase
& aMessage
|
the message
|
HBufC8
* aContent
|
the content
|
EventReceivedL(TMceEvent &)
void
|
EventReceivedL
|
(
|
TMceEvent
&
|
aEvent
|
)
|
[private]
|
EventStateChangedL(TMceEvent &)
void
|
EventStateChangedL
|
(
|
TMceEvent
&
|
aEvent
|
)
|
|
The state of the event established by this refer has changed.
HandleEventL(TMceEvent &)
void
|
HandleEventL
|
(
|
TMceEvent
&
|
aEvent
|
)
|
[private]
|
HandleStateChangedL(TMceEvent &)
void
|
HandleStateChangedL
|
(
|
TMceEvent
&
|
aEvent
|
)
|
[private]
|
IsInRefer()
TBool
|
IsInRefer
|
(
|
)
|
const [pure virtual]
|
Returns truth value, is the refer in-refer or not.
Originator()
IMPORT_C const
TDesC8
&
|
Originator
|
(
|
)
|
const
|
Returns the originator of the refer.
PrepareForITC(TMceIds &)
void
|
PrepareForITC
|
(
|
TMceIds
&
|
aId
|
)
|
[protected]
|
Recipient()
IMPORT_C const
TDesC8
&
|
Recipient
|
(
|
)
|
const
|
Returns the recipient of the refer.
ReferEvent()
Gets the event established by this refer. Ownership is not transfered.
ReferTo()
IMPORT_C const
TDesC8
&
|
ReferTo
|
(
|
)
|
const
|
Returns the ReferTo header.
ResolveStateL()
TState
|
ResolveStateL
|
(
|
)
|
[protected]
|
Resolves the proper refer state according to the state of refer event.
State()
IMPORT_C
TState
|
State
|
(
|
)
|
const
|
Returns the state of the refer.
TransferEventOwnership()
Transfers the owned refer event to not event. Called, when the application takes the ownership of refer event.
Type()
IMPORT_C
TType
|
Type
|
(
|
)
|
const
|
Member Enumerations Documentation
Enum TState
Enumerators
EIdle
|
|
EPending
|
|
EAccepted
|
|
ETerminated
|
|
Enum TType
Enumerators
ENoSuppression
|
|
ESuppressed
|
|
EMultipleRefer
|
|
Member Data Documentation
CMceEvent * iEvent
The event established by this REFER, not owned.
HBufC8 * iOriginator
HBufC8
*
|
iOriginator
|
[protected]
|
CMceEvent * iOwnedEvent
The event established by this REFER, owned.
CMceReferReceiver * iReceiver
HBufC8 * iRecipient
HBufC8
*
|
iRecipient
|
[protected]
|
TAny * iReserved
TAny
*
|
iReserved
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.