CMMFEventReceiver Class Reference

class CMMFEventReceiver : public CBase

Used to hold on to an TMMFMessage so we can complete it asynchronously to send an event to the client.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFEventReceiver(const TMMFMessage &)

CMMFEventReceiver ( const TMMFMessage & aMessage ) [private]

Constructor.

Since
7.0s

Parameters

const TMMFMessage & aMessage The message to be completed when an event occurs.

~CMMFEventReceiver()

~CMMFEventReceiver ( )

Destructor.

Completes the message with KErrCancel if the message hasn't already been completed.

Since
7.0s

Member Functions Documentation

NewL(const TMMFMessage &)

CMMFEventReceiver * NewL ( const TMMFMessage & aMessage ) [static]

Constructs a new event receiver.

This method may leave with one of the system-wide error codes.

Since
7.0s

Parameters

const TMMFMessage & aMessage The message to be completed when an event occurs.

SendEvent(const TMMFEvent &)

void SendEvent ( const TMMFEvent & aEvent )

Sends an event to the client.

Since
7.0s

Parameters

const TMMFEvent & aEvent The event.

Member Data Documentation

TMMFMessage iMessage

TMMFMessage iMessage [private]

The message to be completed when an event occurs.