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

  • CUpnpTransferHandler

Constructor & Destructor Documentation

CUpnpTransferHandler()

CUpnpTransferHandler()[protected]

C++ default constructor.

~CUpnpTransferHandler()

~CUpnpTransferHandler()[virtual]

Destructor.

Member Functions Documentation

CancelDownload(TInt)

voidCancelDownload(TIntaKey)[virtual]

Parameters

TInt aKey

CancelUpload(TInt)

voidCancelUpload(TIntaKey)[virtual]

Parameters

TInt aKey

ConstructL()

voidConstructL()[protected]

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

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

voidDownloadFileL(TIntaKey,
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 *)

voidSetObserver(MUpnpTransferObserver *aObserver)

Parameters

MUpnpTransferObserver * aObserver

TrackDownloadProgress(TInt, TBool)

voidTrackDownloadProgress(TIntaKey,
TBoolaSwitchOn
)[virtual]

Parameters

TInt aKey
TBool aSwitchOn

TrackUploadProgress(TInt, TBool)

voidTrackUploadProgress(TIntaKey,
TBoolaSwitchOn
)[virtual]

Parameters

TInt aKey
TBool aSwitchOn

TransferCompletedL(TInt, TInt)

voidTransferCompletedL(TIntaKey,
TIntaResultCode
)[virtual]

Parameters

TInt aKey
TInt aResultCode

TransferProgress(TInt, TInt, TInt)

voidTransferProgress(TIntakey,
TIntaBytes,
TIntaTotalBytes
)[virtual]

Parameters

TInt akey
TInt aBytes
TInt aTotalBytes

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

voidUploadFileL(TIntaKey,
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]