CUpnpTransferHandler Class Reference

class CUpnpTransferHandler : public CBase

This is a facade class used for communication between CD and uploader/downloader

ContentDirectory
Since
Series 60 2.6

Inherits from

Constructor & Destructor Documentation

CUpnpTransferHandler()

CUpnpTransferHandler ( ) [protected]

C++ default constructor.

~CUpnpTransferHandler()

~CUpnpTransferHandler ( ) [virtual]

Destructor.

Member Functions Documentation

CancelDownload(TInt)

void CancelDownload ( TInt aKey ) [virtual]

Parameters

TInt aKey

CancelUpload(TInt)

void CancelUpload ( TInt aKey ) [virtual]

Parameters

TInt aKey

ConstructL()

void ConstructL ( ) [protected]

Second phase of the constructor. Initialises a DOM tree. By default Symbian 2nd phase constructor is private.

DownloadFileL(TInt, const TDesC8 &, const TDesC &)

void DownloadFileL ( TInt aKey,
const TDesC8 & aUri,
const TDesC & aTargetPath
) [virtual]

Parameters

TInt aKey
const TDesC8 & aUri
const TDesC & aTargetPath

NewL()

CUpnpTransferHandler * NewL ( ) [static]
Two-phased constructor
Since
Series60 2.6

SetObserver(MUpnpTransferObserver *)

void SetObserver ( MUpnpTransferObserver * aObserver )

Parameters

MUpnpTransferObserver * aObserver

TrackDownloadProgress(TInt, TBool)

void TrackDownloadProgress ( TInt aKey,
TBool aSwitchOn
) [virtual]

Parameters

TInt aKey
TBool aSwitchOn

TrackUploadProgress(TInt, TBool)

void TrackUploadProgress ( TInt aKey,
TBool aSwitchOn
) [virtual]

Parameters

TInt aKey
TBool aSwitchOn

TransferCompletedL(TInt, TInt)

void TransferCompletedL ( TInt aKey,
TInt aResultCode
) [virtual]

Parameters

TInt aKey
TInt aResultCode

TransferProgress(TInt, TInt, TInt)

void TransferProgress ( TInt akey,
TInt aBytes,
TInt aTotalBytes
) [virtual]

Parameters

TInt akey
TInt aBytes
TInt aTotalBytes

UploadFileL(TInt, const TDesC8 &, const TDesC &, const TDesC8 &)

void UploadFileL ( TInt aKey,
const TDesC8 & aUri,
const TDesC & aTargetPath,
const TDesC8 & aContentType
) [virtual]

Parameters

TInt aKey
const TDesC8 & aUri
const TDesC & aTargetPath
const TDesC8 & aContentType

Member Data Documentation

CUpnpTransferDownloader * iDownloader

CUpnpTransferDownloader * iDownloader [private]

MUpnpTransferObserver * iObserver

MUpnpTransferObserver * iObserver [private]

CUpnpTransferUploader * iUploader

CUpnpTransferUploader * iUploader [private]