CUpnpMediaServerNotifier Class Reference

class CUpnpMediaServerNotifier : public CActive

Class wrapps asynchronous communication with Media Server Engine in scope of eventing. New RUpnpMediaServerClient session is opened for each CUpnpMediaServerNotifier object. Events are automatically subscribed during object construction and unsubscribed during object destruction. Event observer must be derived from MUpnpMediaServerObserver.

Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CUpnpMediaServerNotifier(MUpnpMediaServerObserver *)

CUpnpMediaServerNotifier(MUpnpMediaServerObserver *aObserver)[private]

Constructor.

Parameters

MUpnpMediaServerObserver * aObserver

~CUpnpMediaServerNotifier()

~CUpnpMediaServerNotifier()[virtual]

Destructor. Usubscribes

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoCancel()

voidDoCancel()[private, virtual]

Cancellation of ongoing asynchronous operation (from CActive)

NewL(MUpnpMediaServerObserver *)

IMPORT_C CUpnpMediaServerNotifier *NewL(MUpnpMediaServerObserver *aObserver)[static]
Two-phased constructor. Subscribes events during construction phase.
Since
Series 60 3.1

Parameters

MUpnpMediaServerObserver * aObserverevent observer

NewLC(MUpnpMediaServerObserver *)

IMPORT_C CUpnpMediaServerNotifier *NewLC(MUpnpMediaServerObserver *aObserver)[static]
Two-phased constructor. Subscribes events during construction phase.
Since
Series 60 3.1

Parameters

MUpnpMediaServerObserver * aObserverevent observer

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]

RunError (from CActive)

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]

RunL (from CActive)

Member Enumerations Documentation

Enum TNotifierAction

Enumerators

ENoAction = 1
ESubscribe
EListenEvent
EGetEventBody

Member Data Documentation

RUpnpMediaServerClient iMediaServerClient

RUpnpMediaServerClient iMediaServerClient[private]

MUpnpMediaServerObserver * iObserver

MUpnpMediaServerObserver *iObserver[private]

TNotifierAction iPendingAction

TNotifierAction iPendingAction[private]

HBufC8 * iReceiveBuffer

HBufC8 *iReceiveBuffer[private]

TPtr8 iReceiveBufferPtr

TPtr8 iReceiveBufferPtr[private]

TInt iRespBufSize

TInt iRespBufSize[private]

TPckg< TInt > iRespBufSizePkg

TPckg< TInt >iRespBufSizePkg[private]