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
| Public Member Functions |
|---|
| ~CUpnpTransferHandler() |
| void | CancelDownload(TInt) |
| void | CancelUpload(TInt) |
| void | DownloadFileL(TInt, const TDesC8 &, const TDesC &) |
|
CUpnpTransferHandler * | NewL() |
| void | SetObserver(MUpnpTransferObserver *) |
| void | TrackDownloadProgress(TInt, TBool) |
| void | TrackUploadProgress(TInt, TBool) |
| void | TransferCompletedL(TInt, TInt) |
| void | TransferProgress(TInt, TInt, TInt) |
| void | UploadFileL(TInt, const TDesC8 &, const TDesC &, const TDesC8 &) |
Constructor & Destructor Documentation
CUpnpTransferHandler()
| CUpnpTransferHandler | ( | ) | [protected] |
~CUpnpTransferHandler()
| ~CUpnpTransferHandler | ( | ) | [virtual] |
Member Functions Documentation
CancelDownload(TInt)
| void | CancelDownload | ( | TInt | aKey | ) | [virtual] |
CancelUpload(TInt)
| void | CancelUpload | ( | TInt | aKey | ) | [virtual] |
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] |
NewL()
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] |
TrackUploadProgress(TInt, TBool)
| void | TrackUploadProgress | ( | TInt | aKey, |
| | TBool | aSwitchOn |
| | ) | [virtual] |
TransferCompletedL(TInt, TInt)
| void | TransferCompletedL | ( | TInt | aKey, |
| | TInt | aResultCode |
| | ) | [virtual] |
TransferProgress(TInt, TInt, TInt)
| void | TransferProgress | ( | TInt | akey, |
| | TInt | aBytes, |
| | TInt | aTotalBytes |
| | ) | [virtual] |
UploadFileL(TInt, const TDesC8 &, const TDesC &, const TDesC8 &)
| void | UploadFileL | ( | TInt | aKey, |
| | const TDesC8 & | aUri, |
| | const TDesC & | aTargetPath, |
| | const TDesC8 & | aContentType |
| | ) | [virtual] |
Member Data Documentation
CUpnpTransferDownloader * iDownloader
MUpnpTransferObserver * iObserver
| MUpnpTransferObserver * | iObserver | [private] |
CUpnpTransferUploader * iUploader
| CUpnpTransferUploader * | iUploader | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.