CHttpTransferTimer Class Reference

class CHttpTransferTimer : public CBase

This class is a timer that launches new transfers in CHttpUploader and CHttpDownloader

httptransfer.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CHttpTransferTimer(TInt, MHttpTransferTimerObserver *)

CHttpTransferTimer ( TInt aInterval,
MHttpTransferTimerObserver * aCallback
) [private]

Constructor

Since
S60 v3.2

Parameters

TInt aInterval Interval when call back is called
MHttpTransferTimerObserver * aCallback Callback interface

~CHttpTransferTimer()

~CHttpTransferTimer ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

Beat()

void Beat ( ) [private]

Called when the beat is in sync.

Since
S60 3.0

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

Since
S60 v3.2

NewL(TInt, MHttpTransferTimerObserver *)

CHttpTransferTimer * NewL ( TInt aInterval,
MHttpTransferTimerObserver * aCallback
) [static]

Static NewL method to construct the timer.

Since
S60 3.2

Parameters

TInt aInterval Timer interval in seconds
MHttpTransferTimerObserver * aCallback The call back reference

Synchronize()

void Synchronize ( ) [private, inline]

Called when the beat needs to be syncronized.

Since
S60 3.0

Member Data Documentation

MHttpTransferTimerObserver * iCallback

MHttpTransferTimerObserver * iCallback [private]

Call back pointer. Not own.

TInt iCounter

TInt iCounter [private]

Counter

CHeartbeat * iHeartbeat

CHeartbeat * iHeartbeat [private]

Heartbeat active object Own.

TInt iInterval

TInt iInterval [private]

Interval in seconds