CDRMEventHandler Class Reference
class CDRMEventHandler : public CActive
|
CDRMEventHandler
Performs the required operations between the client and the server Handles the handles for the observers
DRMCommon.dll
-
Since
-
S60Rel2.6
Nested Classes and Structures
Constructor & Destructor Documentation
CDRMEventHandler()
CDRMEventHandler
|
(
|
)
|
[protected]
|
CDRMEventHandler(const CDRMEventHandler &)
~CDRMEventHandler()
~CDRMEventHandler
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
DoCancel()
void
|
DoCancel
|
(
|
)
|
[protected, virtual]
|
Implements cancellation of an outstanding request.
This function is called as part of the active object's
Cancel()
.
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel()
must not wait for event completion; this is handled by
Cancel()
.
CActive::Cancel
GetEventObjectLC()
GetEventObjectLC
Reserves memory for an object specified in the internal structure and leaves it in the cleanup stack
HandleRunL()
void
|
HandleRunL
|
(
|
)
|
[private]
|
HandleRunL
Helper function for RunL that does the actual callbacks to registered clients
RegisterEventObserverL(MDRMEventObserver &, const TDRMEventType &)
RegisterEventObserverL
Registers a new event observer to DRM Notifier. Listens to all events of the given type
RegisterEventObserverL(MDRMEventObserver &, const TDRMEventType &, const TDesC8 &)
RegisterEventObserverL
Registers a new event observer to DRM Notifier. Only recieves notification when the rights accociated with the given content id are handled
RunL()
void
|
RunL
|
(
|
)
|
[protected, virtual]
|
From
CActive
: RunL catches events from DRM server.
SendEventL(MDRMEvent &, TRequestStatus &)
SendEventL
Sends a notification to registered observers, asyncronous
UnRegisterEventObserverL(MDRMEventObserver &, const TDRMEventType &)
UnRegisterEventObserverL
Unregisters existing event observer from DRM Notifier.
UnRegisterEventObserverL(MDRMEventObserver &, const TDRMEventType &, const TDesC8 &)
UnRegisterEventObserverL
Unregisters existing event observer from DRM Notifier.
operator=(const CDRMEventHandler &)
Member Data Documentation
CArrayPtrSeg< TObserverData > * iAddRemoveObservers
TUint8 * iDataBuffer
TUint8
*
|
iDataBuffer
|
[private]
|
CArrayPtrSeg< TDelayedObserverData > * iDelayedObservers
TDRMEventType * iEventType
TDRMEventType * iEventTypeWait
RDRMNotifierClient * iHandler
TBool
iIsDelayed
TBool
|
iIsDelayed
|
[private]
|
CArrayPtrSeg< TObserverData > * iModifyObservers
CArrayPtrSeg< TObserverData > * iTimeChangeObservers
TPtr8 * iWaitData
TPtr8
*
|
iWaitData
|
[private]
|
TUint8 * iWaitDataBuffer
TUint8
*
|
iWaitDataBuffer
|
[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.