CHttpDownloader Class Reference
class CHttpDownloader : public CHttpTransferBase
|
Downloader
This class handles the queue of the downloaded files and array of workers.
httptransfer.lib
-
Since
-
S60 v3.2
Public Member Functions
|
|
~CHttpDownloader
()
|
IMPORT_C void
|
DownloadFileL
(const
TDesC8
&, const
TDesC
&,
TAny
*)
|
IMPORT_C void
|
DownloadFileL
(const
TDesC8
&, const
RFile
&,
TAny
*)
|
IMPORT_C
CHttpDownloader
*
|
NewL
(
MHttpTransferObserver
&,
TUint
,
TUint
,
TUint
)
|
IMPORT_C
CHttpDownloader
*
|
NewLC
(
MHttpTransferObserver
&,
TUint
,
TUint
,
TUint
)
|
Inherited Functions
|
|
CActive::CActive(TInt)
|
|
CActive::Cancel()
|
|
CActive::Deque()
|
|
CActive::Extension_(TUint,TAny *&,TAny *)
|
|
CActive::IsActive()const
|
|
CActive::IsAdded()const
|
|
CActive::Priority()const
|
|
CActive::SetActive()
|
|
CActive::SetPriority(TInt)
|
|
CActive::~CActive()
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CHttpTransferBase::ActivateNewTransferRequest()
|
|
CHttpTransferBase::CHttpTransferBase()
|
|
CHttpTransferBase::CancelAll()
|
|
CHttpTransferBase::CancelTransfer(TAny *)
|
|
CHttpTransferBase::CreateAndQueueHttpFileL(const TDesC8 &,const RFile &,TAny *)
|
|
CHttpTransferBase::CreateAndQueueHttpFileL(const TDesC8 &,const TDesC &,TAny *)
|
|
CHttpTransferBase::DoCancel()
|
|
CHttpTransferBase::GetPropertyL(TAny *,THttpPropertyType)
|
|
CHttpTransferBase::InsertFileIntoWaitQueueL(TAny *,const RFile &,const TDesC8 &)
|
|
CHttpTransferBase::InsertFileIntoWaitQueueL(TAny *,const TDesC &,const TDesC8 &)
|
|
CHttpTransferBase::MoveToTransferQueueL(TAny *)
|
|
CHttpTransferBase::NextFile()
|
|
CHttpTransferBase::ProcessNextFileL()
|
|
CHttpTransferBase::RunError(TInt)
|
|
CHttpTransferBase::RunL()
|
|
CHttpTransferBase::SetHeaderL(TAny *,const TDesC8 &,const TDesC8 &)
|
|
CHttpTransferBase::SetPropertyL(TAny *,THttpPropertyType,const TDesC &)
|
|
CHttpTransferBase::StartTransferL(TAny *)
|
|
CHttpTransferBase::TrackProgress(TAny *,TBool)
|
|
CHttpTransferBase::WorkerCompleted()
|
|
CHttpTransferBase::~CHttpTransferBase()
|
Constructor & Destructor Documentation
CHttpDownloader(MHttpTransferObserver &, TUint, TUint, TUint)
~CHttpDownloader()
~CHttpDownloader
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DownloadFileL(const TDesC8 &, const TDesC &, TAny *)
IMPORT_C void
|
DownloadFileL
|
(
|
const
TDesC8
&
|
aUri,
|
|
const
TDesC
&
|
aTargetPath,
|
|
TAny
*
|
aKey
|
|
)
|
|
Method for downloading the file. Creates and enqueues the file
Parameters
const
TDesC8
& aUri
|
Uri of the downloaded object
|
const
TDesC
& aTargetPath
|
Local path of the object
|
TAny
* aKey
|
Identifier of the object
|
DownloadFileL(const TDesC8 &, const RFile &, TAny *)
IMPORT_C void
|
DownloadFileL
|
(
|
const
TDesC8
&
|
aUri,
|
|
const
RFile
&
|
aFileHandle,
|
|
TAny
*
|
aKey
|
|
)
|
|
Method for downloading the file. Uses the file handle to store the data.
Parameters
const
TDesC8
& aUri
|
Uri of the file
|
const
RFile
& aFileHandle
|
Handle to the file
|
TAny
* aKey
|
Key of the file
|
NewL(MHttpTransferObserver &, TUint, TUint, TUint)
NewLC(MHttpTransferObserver &, TUint, TUint, TUint)
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.