CMceEvent Class Reference
class CMceEvent : public CBase
|
Base class for MCE events, inherited by both
CMceInEvent
and
CMceOutEvent
.
CMceEvent
represents peer-to-peer connection made with remote terminal. This connection is also known as dialog and it is set up using SIP SUBSCRIBE method.
MCE events are typically used for queurying state of some parameter of remote terminal. The queuried parameter is known as event header. The changes of this parameter are notified to another terminal by sending SIP NOTIFY messages.
The event can be finally terminated by either endpoints.
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
CMceEvent(CMceManager &, TUint32, TUint32, TUint32)
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 *, TUint32, CDesC8Array *)
ErrorOccuredL(TInt)
void
|
ErrorOccuredL
|
(
|
TInt
|
aError
|
)
|
|
EventHeader()
IMPORT_C const
TDesC8
&
|
EventHeader
|
(
|
)
|
const
|
Returns the Event header.
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]
|
HandleEventL(TMceEvent &)
void
|
HandleEventL
|
(
|
TMceEvent
&
|
aEvent
|
)
|
[private]
|
IsInEvent()
TBool
|
IsInEvent
|
(
|
)
|
const [pure virtual]
|
Gets the type of the event
Originator()
IMPORT_C const
TDesC8
&
|
Originator
|
(
|
)
|
const
|
Returns the address of the originator
PrepareForITC(TMceIds &)
void
|
PrepareForITC
|
(
|
TMceIds
&
|
aId
|
)
|
[protected]
|
Recipient()
IMPORT_C const
TDesC8
&
|
Recipient
|
(
|
)
|
const
|
Returns the address of the recipient
State()
IMPORT_C
TState
|
State
|
(
|
)
|
const
|
Returns the state of the event.
TerminateL(CDesC8Array *, HBufC8 *, HBufC8 *)
Member Enumerations Documentation
Enum TState
Enumerators
EIdle
|
|
EPending
|
|
EActive
|
|
ETerminated
|
|
Member Data Documentation
HBufC8 * iEventHeader
HBufC8
*
|
iEventHeader
|
[protected]
|
HBufC8 * iOriginator
HBufC8
*
|
iOriginator
|
[protected]
|
CMceEventReceiver * iReceiver
HBufC8 * iRecipient
HBufC8
*
|
iRecipient
|
[protected]
|
TUint32
iRefreshInterval
TUint32
|
iRefreshInterval
|
[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.