CMceInEvent Class Reference

class CMceInEvent : public CMceEvent

Class for mobile terminated MCE events.

CMceOutEvent represents incoming request to from terminal to establish event dialog.

After the event has been succesfylly set up, it can be later updated and must be finally terminated. Notifications about the event are send using NotifyL function. The respond to this in not passed to user, unless there is failure.

If for any reason instance of this class is deleted while in active state, event is automatically terminated by MCE server.

mceclient.lib

Inherits from

Public Member Functions
~CMceInEvent ()
IMPORT_C void AcceptL ()
TBool IsInEvent ()
CMceInEvent * NewL ( CMceManager &, TUint32 , CMceMsgSIPEvent &)
IMPORT_C void NotifyL ( CDesC8Array *, HBufC8 *, HBufC8 *)
IMPORT_C void RejectL ()
IMPORT_C void RespondL (const TDesC8 &, TUint32 , CDesC8Array *, HBufC8 *, HBufC8 *)
Private Member Functions
CMceInEvent ( CMceManager &, TUint32 , TUint32 , TUint32 , TUint32 )
void ConstructL ( HBufC8 *, HBufC8 *, HBufC8 *, TUint32 )
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()
CMceEvent::AssociatedEventsL()const
CMceEvent::AssociatedRefersL()const
CMceEvent::AssociatedSession()const
CMceEvent::CMceEvent(CMceManager &,TUint32,TUint32,TUint32)
CMceEvent::ConstructL(HBufC8 *,HBufC8 *,HBufC8 *,TUint32,CDesC8Array *)
CMceEvent::DialogId()const
CMceEvent::ErrorOccuredL(TInt)
CMceEvent::EventHeader()const
CMceEvent::EventReceivedL(TMceIds &)
CMceEvent::EventReceivedL(TMceIds &,CMceMsgBase &)
CMceEvent::EventReceivedL(TMceIds &,CMceMsgBase &,HBufC8 *)
CMceEvent::ITCSender()
CMceEvent::Id()const
CMceEvent::Manager()
CMceEvent::Originator()const
CMceEvent::PrepareForITC(TMceIds &)
CMceEvent::ProfileId()const
CMceEvent::Recipient()const
CMceEvent::State()const
CMceEvent::TerminateL(CDesC8Array *,HBufC8 *,HBufC8 *)
CMceEvent::~CMceEvent()
Inherited Enumerations
CMceEvent:TState
Inherited Attributes
CMceEvent::iDialogId
CMceEvent::iEventHeader
CMceEvent::iId
CMceEvent::iManager
CMceEvent::iOriginator
CMceEvent::iProfileId
CMceEvent::iReceiver
CMceEvent::iRecipient
CMceEvent::iRefreshInterval
CMceEvent::iSender
CMceEvent::iState

Constructor & Destructor Documentation

CMceInEvent(CMceManager &, TUint32, TUint32, TUint32, TUint32)

CMceInEvent ( CMceManager & aManager,
TUint32 aProfileId,
TUint32 aId,
TUint32 aDialogId,
TUint32 aRefreshInterval
) [private]

C++ default constructor.

Parameters

CMceManager & aManager
TUint32 aProfileId
TUint32 aId
TUint32 aDialogId
TUint32 aRefreshInterval

~CMceInEvent()

IMPORT_C ~CMceInEvent ( )

Destructor.

Member Functions Documentation

AcceptL()

IMPORT_C void AcceptL ( )
Sends accept respond to an incoming event.
Pre-condition
State() == CMceEvent::EIdle
Post-condition
State() == CMceEvent::EPending

ConstructL(HBufC8 *, HBufC8 *, HBufC8 *, TUint32)

void ConstructL ( HBufC8 * aEventHeader,
HBufC8 * aRecipient,
HBufC8 * aOriginator,
TUint32 aDialogType
) [private]

second-phase constructor

Parameters

HBufC8 * aEventHeader
HBufC8 * aRecipient
HBufC8 * aOriginator
TUint32 aDialogType

IsInEvent()

TBool IsInEvent ( ) const [virtual]

Gets the type of the event

NewL(CMceManager &, TUint32, CMceMsgSIPEvent &)

CMceInEvent * NewL ( CMceManager & aManager,
TUint32 aProfileId,
CMceMsgSIPEvent & aEventMsg
) [static]

Two-phased constructor.

Parameters

CMceManager & aManager
TUint32 aProfileId
CMceMsgSIPEvent & aEventMsg

NotifyL(CDesC8Array *, HBufC8 *, HBufC8 *)

IMPORT_C void NotifyL ( CDesC8Array * aHeaders = 0,
HBufC8 * aContentType = 0,
HBufC8 * aContent = 0
)
Sends notification related to an event.
Pre-condition
State() == CMceEvent::EIdle
Post-condition
State() == CMCEvent::EPending

Parameters

CDesC8Array * aHeaders = 0
HBufC8 * aContentType = 0
HBufC8 * aContent = 0

RejectL()

IMPORT_C void RejectL ( )
Sends reject respond to an incoming event.
Pre-condition
State() == CMceEvent::EIdle
Post-condition
State() == CMCEvent::ETerminated

RespondL(const TDesC8 &, TUint32, CDesC8Array *, HBufC8 *, HBufC8 *)

IMPORT_C void RespondL ( const TDesC8 & aReason,
TUint32 aCode,
CDesC8Array * aHeaders = 0,
HBufC8 * aContentType = 0,
HBufC8 * aContent = 0
)
Sends respond to an incoming event.
Pre-condition
State() == CMceEvent::EIdle
Post-condition
State() == CMCEvent::ETerminated || State() == CMCEvent::EPending

Parameters

const TDesC8 & aReason
TUint32 aCode
CDesC8Array * aHeaders = 0
HBufC8 * aContentType = 0
HBufC8 * aContent = 0