CDosEventNotifier Class Reference
| class CDosEventNotifier : public CActive |
This active object is used to wait for the event provided by the server throught the class RDosEventRcv. It is not recomended to use this class directly but instead use a derived class from CDosEventListenerBase.
Constructor & Destructor Documentation
CDosEventNotifier(CDosEventListenerBase *, TPriority)
Parameters
| CDosEventListenerBase * aListener | A pointer to the CDosListenerBase-derived object that owns this object. |
| TPriority aPriority = EPriorityStandard | The priority of the CActive object. |
Member Functions Documentation
ConstructL(RDosServer &)
Symbian two-phased constructor.
Parameters
| RDosServer & aServer | A connected session to the DosServer. |
DoCancel()
| void | DoCancel | ( | ) | [private, virtual] |
It's called by CActve when Cancel() is called and process the cancelation of the request.
NewL(RDosServer &, CDosEventListenerBase *)
NewL that creates the object.
Parameters
| RDosServer & aServer | A connected session to the DosServer. |
| CDosEventListenerBase * aListener | A pointer to the CDosListenerBase-derived object that owns this object. |
RunError(TInt)
|
TInt
| RunError | ( | TInt | aError | ) | [private, virtual] |
It's called by CActive on error situations.
Parameters
| TInt aError | Symbian error code. |
RunL()
| void | RunL | ( | ) | [private, virtual] |
It's called by CActive when the active object is scheduled to be executed.
StartListeningL(TUint, TInt, TQueueType)
Registers the event in the Server and starts the listening for incoming events.
Parameters
| TUint aEvent | Event to listen to. |
| TInt aParamSize | Size of the parameter that the event is going to carry. |
| TQueueType aQueue | Desired type of the event queue. |
Member Data Documentation
CDosEventListenerBase * iListener
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.