CMMFUrlSink Class Reference

class CMMFUrlSink : public CBase

Concrete implementation of a URL data sink.

This class is used only to pass information regarding the URL and IAP into the controller plugin. IT CANNOT BE USED TO WRITE DATA TO A URL. Each of the MDataSink APIs are implemented as either returning or leaving with KErrNotSupported as appropriate.

The configuration data for this class is an externalized CMMFUrlParams object.

CMMFUrlParams

Inherits from

Constructor & Destructor Documentation

CMMFUrlSink()

CMMFUrlSink()[private]

~CMMFUrlSink()

~CMMFUrlSink()[virtual]

Member Functions Documentation

BufferFilledL(CMMFBuffer *)

voidBufferFilledL(CMMFBuffer *aBuffer)

Parameters

CMMFBuffer * aBuffer

CanCreateSinkBuffer()

TBool CanCreateSinkBuffer()

ConstructSinkL(const TDesC8 &)

voidConstructSinkL(const TDesC8 &aInitData)[private]

Parameters

const TDesC8 & aInitData

CreateSinkBufferL(TMediaId, TBool &)

CMMFBuffer *CreateSinkBufferL(TMediaId,
TBool &aReference
)

Parameters

TMediaId
TBool & aReference

EmptyBufferL(CMMFBuffer *, MDataSource *, TMediaId)

voidEmptyBufferL(CMMFBuffer *aBuffer,
MDataSource *aSupplier,
TMediaId
)

Parameters

CMMFBuffer * aBuffer
MDataSource * aSupplier
TMediaId

IAPId()

TInt IAPId()const [inline]

Returns the Internet Access Point ID.

Since
7.0s

NegotiateL(MDataSource &)

voidNegotiateL(MDataSource &)

Parameters

MDataSource &

NewSinkL()

MDataSink *NewSinkL()[static]

SetSinkDataTypeCode(TFourCC, TMediaId)

TInt SetSinkDataTypeCode(TFourCC,
TMediaId
)

Parameters

TFourCC
TMediaId

SetSinkPrioritySettings(const TMMFPrioritySettings &)

voidSetSinkPrioritySettings(const TMMFPrioritySettings &)

Parameters

const TMMFPrioritySettings &

SinkCustomCommand(TMMFMessage &)

voidSinkCustomCommand(TMMFMessage &aMessage)

Parameters

TMMFMessage & aMessage

SinkDataTypeCode(TMediaId)

TFourCC SinkDataTypeCode(TMediaId)

Parameters

TMediaId

SinkPauseL()

voidSinkPauseL()

SinkPlayL()

voidSinkPlayL()

SinkPrimeL()

voidSinkPrimeL()

SinkStopL()

voidSinkStopL()

SinkThreadLogoff()

voidSinkThreadLogoff()

SinkThreadLogon(MAsyncEventHandler &)

TInt SinkThreadLogon(MAsyncEventHandler &)

Parameters

MAsyncEventHandler &

Url()

const TDesC &Url()const [inline]

Returns the URL string.

For example:
	http://www.symbian.com/clip/mpg
Since
7.0s

UseIAPId()

TBool UseIAPId()const [inline]

Indicates whether the IAP ID should be used.

Since
7.0s

Member Data Documentation

TInt iIAPId

TInt iIAPId[private]

HBufC * iUrl

HBufC *iUrl[private]

TBool iUseIAPId

TBool iUseIAPId[private]