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 void UploadFileL (const TDesC8 &, const TDesC &, TAny *)
Private Member Functions
CHttpUploader ( MHttpTransferObserver &, TUint , TUint , TUint )
void ConstructL ()
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,
TUint aIAPId,
TUint aBufferSize,
TUint aParallelTransfers
) [private]

Default constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserver Transfer observer
TUint aIAPId IAP id
TUint aBufferSize size of the upload buffer
TUint aParallelTransfers Number of parallel transfers

~CHttpUploader()

~CHttpUploader ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

Since
S60 v3.2

NewL(MHttpTransferObserver &, TUint, TUint, TUint)

IMPORT_C CHttpUploader * NewL ( MHttpTransferObserver & aObserver,
TUint aIAPId,
TUint aBufferSize,
TUint aParallelTransfers
) [static]

Constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserver Transfer observer
TUint aIAPId IAP id
TUint aBufferSize size of the upload buffer
TUint aParallelTransfers Number of parallel transfers

NewLC(MHttpTransferObserver &, TUint, TUint, TUint)

IMPORT_C CHttpUploader * NewLC ( MHttpTransferObserver & aObserver,
TUint aIAPId,
TUint aBufferSize,
TUint aParallelTransfers
) [static]

Constructor

Since
S60 v3.2

Parameters

MHttpTransferObserver & aObserver Transfer observer
TUint aIAPId IAP id
TUint aBufferSize size of the upload buffer
TUint aParallelTransfers Number of parallel transfers

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

IMPORT_C void UploadFileL ( 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 & aUri Uri of the downloaded object
const TDesC & aTargetPath Local path of the object
TAny * aKey Identifier of the object