CHttpUploader Class Reference

class CHttpUploader : public CHttpTransferBase

This class handles the queue of the uploaded files and array of workers.

httptransfer.lib
Since
S60 v3.2

Inherits from

Public Member Functions
~CHttpUploader()
IMPORT_C CHttpUploader *NewL(MHttpTransferObserver &, TUint, TUint, TUint)
IMPORT_C CHttpUploader *NewLC(MHttpTransferObserver &, TUint, TUint, TUint)
IMPORT_C voidUploadFileL(const TDesC8 &, const TDesC &, TAny *)
Private Member Functions
CHttpUploader(MHttpTransferObserver &, TUint, TUint, TUint)
voidConstructL()
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()
Inherited Enumerations
CActive:TPriority
CHttpTransferBase:THttpPropertyType
Inherited Attributes
CActive::iStatus
CHttpTransferBase::iActiveWorker
CHttpTransferBase::iBufferSize
CHttpTransferBase::iFileQueue
CHttpTransferBase::iIAPId
CHttpTransferBase::iObserver
CHttpTransferBase::iParallelTransfers
CHttpTransferBase::iWaitQueue
CHttpTransferBase::iWorkerArray

Constructor & Destructor Documentation

CHttpUploader(MHttpTransferObserver &, TUint, TUint, TUint)

CHttpUploader(MHttpTransferObserver &aObserver,
TUintaIAPId,
TUintaBufferSize,
TUintaParallelTransfers
)[private]

Default constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserverTransfer observer
TUint aIAPIdIAP id
TUint aBufferSizesize of the upload buffer
TUint aParallelTransfersNumber of parallel transfers

~CHttpUploader()

~CHttpUploader()[virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor

Since
S60 v3.2

NewL(MHttpTransferObserver &, TUint, TUint, TUint)

IMPORT_C CHttpUploader *NewL(MHttpTransferObserver &aObserver,
TUintaIAPId,
TUintaBufferSize,
TUintaParallelTransfers
)[static]

Constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserverTransfer observer
TUint aIAPIdIAP id
TUint aBufferSizesize of the upload buffer
TUint aParallelTransfersNumber of parallel transfers

NewLC(MHttpTransferObserver &, TUint, TUint, TUint)

IMPORT_C CHttpUploader *NewLC(MHttpTransferObserver &aObserver,
TUintaIAPId,
TUintaBufferSize,
TUintaParallelTransfers
)[static]

Constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserverTransfer observer
TUint aIAPIdIAP id
TUint aBufferSizesize of the upload buffer
TUint aParallelTransfersNumber of parallel transfers

UploadFileL(const TDesC8 &, const TDesC &, TAny *)

IMPORT_C voidUploadFileL(const TDesC8 &aUri,
const TDesC &aTargetPath,
TAny *aKey
)

Method for uploading the file. Creates and enqueues the file

Since
S60 v3.2

Parameters

const TDesC8 & aUriUri of the downloaded object
const TDesC & aTargetPathLocal path of the object
TAny * aKeyIdentifier of the object