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

void BufferFilledL ( CMMFBuffer * aBuffer )

Parameters

CMMFBuffer * aBuffer

CanCreateSinkBuffer()

TBool CanCreateSinkBuffer ( )

ConstructSinkL(const TDesC8 &)

void ConstructSinkL ( const TDesC8 & aInitData ) [private]

Parameters

const TDesC8 & aInitData

CreateSinkBufferL(TMediaId, TBool &)

CMMFBuffer * CreateSinkBufferL ( TMediaId ,
TBool & aReference
)

Parameters

TMediaId
TBool & aReference

EmptyBufferL(CMMFBuffer *, MDataSource *, TMediaId)

void EmptyBufferL ( 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 &)

void NegotiateL ( MDataSource & )

Parameters

MDataSource &

NewSinkL()

MDataSink * NewSinkL ( ) [static]

SetSinkDataTypeCode(TFourCC, TMediaId)

TInt SetSinkDataTypeCode ( TFourCC ,
TMediaId
)

SetSinkPrioritySettings(const TMMFPrioritySettings &)

void SetSinkPrioritySettings ( const TMMFPrioritySettings & )

Parameters

const TMMFPrioritySettings &

SinkCustomCommand(TMMFMessage &)

void SinkCustomCommand ( TMMFMessage & aMessage )

Parameters

TMMFMessage & aMessage

SinkDataTypeCode(TMediaId)

TFourCC SinkDataTypeCode ( TMediaId )

Parameters

TMediaId

SinkPauseL()

void SinkPauseL ( )

SinkPlayL()

void SinkPlayL ( )

SinkPrimeL()

void SinkPrimeL ( )

SinkStopL()

void SinkStopL ( )

SinkThreadLogoff()

void SinkThreadLogoff ( )

SinkThreadLogon(MAsyncEventHandler &)

TInt SinkThreadLogon ( 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]