CDownloadMgrHandler Class Reference

class CDownloadMgrHandler : public CActive

Handles the responses of the asyncron services. It can be created by a RHttpDownloadMgr session or RHttpDownload subsession.

-
Since
Series 60 2.8

Inherits from

Constructor & Destructor Documentation

CDownloadMgrHandler(MHttpDownloadMgrObserver *, RHttpDownload *)

CDownloadMgrHandler ( MHttpDownloadMgrObserver * aHandler,
RHttpDownload * aSubSession
)

C++ default constructor.

Parameters

MHttpDownloadMgrObserver * aHandler
RHttpDownload * aSubSession

CDownloadMgrHandler(RHttpDownloadMgr *)

CDownloadMgrHandler ( RHttpDownloadMgr * aSession )

C++ default constructor.

Parameters

RHttpDownloadMgr * aSession

~CDownloadMgrHandler()

~CDownloadMgrHandler ( )

Destructor.

Member Functions Documentation

AdjustPriority(THttpDownloadEvent &)

void AdjustPriority ( THttpDownloadEvent & aCurrentDlEvent ) [private]

Parameters

THttpDownloadEvent & aCurrentDlEvent

DoCancel()

void DoCancel ( ) [private, virtual]

Implements cancellation of an outstanding request.

RunL()

void RunL ( ) [private, virtual]

Handles an active object s request completion event.

StartL()

void StartL ( )

Starts handle request completion event.

Member Enumerations Documentation

Enum THandlerType

Handler type

-
Since
Series 60 2.8

Enumerators

EHttpDownloadMgr
EHttpDownload

Member Data Documentation

TBool * iClosed

TBool * iClosed [private]

RHttpDownloadMgr * iDownloadSession

RHttpDownloadMgr * iDownloadSession [private]

TPckgBuf< TInt32 > iDownloadState

TPckgBuf < TInt32 > iDownloadState [private]

RHttpDownload * iDownloadSubSession

RHttpDownload * iDownloadSubSession [private]

TPckgBuf< TInt > iHandle

TPckgBuf < TInt > iHandle [private]

MHttpDownloadMgrObserver * iHandler

MHttpDownloadMgrObserver * iHandler [private]

THandlerType iHandlerType

THandlerType iHandlerType [private]

HBufC8 * iPackedEventAttribs

HBufC8 * iPackedEventAttribs [private]

THttpDownloadEvent iPrevDlEvent

THttpDownloadEvent iPrevDlEvent [private]

TPckgBuf< TInt32 > iProgressState

TPckgBuf < TInt32 > iProgressState [private]

TPtr8 iPtr

TPtr8 iPtr [private]