RDosEventRcv Class Reference

class RDosEventRcv : public RDosSubSession

This subsession offers services to register and listen for events. It should not be used directly. Instead derive your class from CDosEventListenerBase

Inherits from

Constructor & Destructor Documentation

RDosEventRcv()

RDosEventRcv()

Constructor

~RDosEventRcv()

~RDosEventRcv()

Desctructor

Member Functions Documentation

CancelWaitEvent()

TInt CancelWaitEvent()const

Cancels outstanding requests.

Event()

TUint Event()const [inline]

Returns the unique id of the event that the object is listening for.

Open(RDosServer &)

TInt Open(RDosServer &aServer)

Opens the subsession.

Parameters

RDosServer & aServerA connected session with the Server.

Parameter()

HBufC8 *Parameter()const [inline]

Returns a pointer to the buffer containing the parameter that came with the latest received event.

ParameterSize()

TInt ParameterSize()const [inline]

Returns the size of the parameter that came with the latest received event.

Queue()

TQueueType Queue()const [inline]

Returns the type of queue that the event has.

Register(TInt, TInt, TQueueType)

TInt Register(TIntaEvent,
TIntaParamSize,
TQueueTypeaQueue
)

Informs the server that the client wished to receive an event.

Parameters

TInt aEventThe unique identifier of the event.
TInt aParamSizeThe size of the parameter that event is going to carry.
TQueueType aQueueThe type of queue that the event is going to have.

UnRegister()

voidUnRegister()

It asynchronously tells the server that the client doesn't wish to receive the event anymore.

WaitEvent(TRequestStatus &)

TInt WaitEvent(TRequestStatus &aStatus)const

Puts the client to wait for the event.

Parameters

TRequestStatus & aStatusStatus varibale that informs about the incoming events.

Member Data Documentation

TPtr8 * iContentPtr

TPtr8 *iContentPtr[private]

TUint iDosEvent

TUint iDosEvent[private]

HBufC8 * iParamContent

HBufC8 *iParamContent[private]

TQueueType iQueue

TQueueType iQueue[private]

TBool iRegistered

TBool iRegistered[private]