CWLMNotify Class Reference

class CWLMNotify : public CActive
CWLMNotify offers the notification service. Active object that waits notifications from server. wlmserver.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CWLMNotify(MWLMNotify &, RWLMServer &, TUint32)

CWLMNotify(MWLMNotify &aCallback,
RWLMServer &aServer,
TUint32aNotificationMask
)[private]

Constructor.

Parameters

MWLMNotify & aCallbackCallback interface to forward notifications to application.
RWLMServer & aServerInterface to send requests to server.
TUint32 aNotificationMaskBitmask of notifications to activate.

~CWLMNotify()

~CWLMNotify()[virtual]

Destructor.

Member Functions Documentation

Activate(MWLMNotify &, TUint32)

voidActivate(MWLMNotify &aCallback,
TUint32aNotificationMask
)

Change the callback interface and activate notifications

Parameters

MWLMNotify & aCallbackNew callback interface.
TUint32 aNotificationMaskBitmask of notifications to activate.

ConstructL()

voidConstructL()[private]

Second phase construction.

DoCancel()

voidDoCancel()[protected, virtual]

(From CActive) This is called by Cancel() of CActive framework.

NewL(MWLMNotify &, RWLMServer &, TUint32)

CWLMNotify *NewL(MWLMNotify &aCallback,
RWLMServer &aServer,
TUint32aNotificationMask
)[static]
Create and activate notification service.
Note:

This activates the notification service already.

Parameters

MWLMNotify & aCallbackCallback interface to forward notifications to user process.
RWLMServer & aServerInterface to send requests to server.
TUint32 aNotificationMaskBitmask of notifications to activate.

RunL()

voidRunL()[protected, virtual]

(From CActive) Receive notification.

SetCancelled()

voidSetCancelled()

Sets the requests cancelled flag so that no new notification requests are done once current notification is complete.

WaitForNotifications()

voidWaitForNotifications()[private]

Notification query loop.

Member Data Documentation

MWLMNotify * iCallback

MWLMNotify *iCallback[private]

Callback interface to the client. Not owned by this class.

TBool iCancelRequested

TBool iCancelRequested[private]

Cancel has been requested

TPckgBuf< TWlmNotifyData > iDataPckg

TPckgBuf< TWlmNotifyData >iDataPckg[private]

Data package for return data

TUint32 iNotificationMask

TUint32 iNotificationMask[private]

Bitmask of active notifications.

RWLMServer & iServer

RWLMServer &iServer[private]

Interface to send messages to the server