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()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

void DoCancel ( ) [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 * aObserver event 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 * aObserver event observer

RunError(TInt)

TInt RunError ( TInt aError ) [private, virtual]

RunError (from CActive )

Parameters

TInt aError

RunL()

void RunL ( ) [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]