CImPop3RefreshOperation Class Reference

class CImPop3RefreshOperation : public CMsgActive

Inherits from

Nested Classes and Structures

Public Member Functions
~CImPop3RefreshOperation ()
void CancelAllowResume ()
CImPop3RefreshOperation * NewL ( CMsvServerEntry &, CImPop3Session *, RFs &)
void Pause ()
TPop3Progress Progress ()
TUint RemoteMessageSizeL ( TMsvId )
void ResumeL ( CImPop3Session *, TRequestStatus &)
void SetMessagesToKeepL (const CMsvEntrySelection *)
void Start ( TRequestStatus &, CArrayFixFlat < TMsvId > *)
void Start ( TRequestStatus &)
Private Member Functions
CImPop3RefreshOperation ( CMsvServerEntry &, CImPop3Session *, RFs &)
void AllocateArraysL ()
TBool CanDeleteEntry (const TMsvEmailEntry &)
void ChangeStateForMigrate ( TState )
void ChangeStateL ( TState )
TBool CompareIdAndSizeL ()
void CompleteSyncCollection ()
void ConstructL ()
void CreateNewHeaderEntryL ( TMsvEntry &)
void CreateUidlFileL ()
void DeleteUidl ( TInt )
void DoCancel ()
void DoComplete ( TInt &)
void DoRunL ()
void GetCapabilitiesL ()
void GetHeaderByIndexL ( TInt )
void GetMessageByIndexL ( TInt )
TBool GetMessagesIfAny ()
void GetMsgSizesL ()
void GetMsgUidlsL ()
void GetNoMessagesL ()
void GetRemoteMessagesL ()
void OpenUidlFileL ()
void QueueRemoteUpdate ()
void RefreshFinishedL ()
void RetrieveHeadersL ()
TInt SelectNextState ()
void SyncCollectionL ()
void SyncUidlL ()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
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()
CMsgActive::CMsgActive(TInt)
CMsgActive::Complete(TInt)
CMsgActive::Queue(TRequestStatus &)
CMsgActive::~CMsgActive()
Private Member Enumerations
enum TState {
EPopRefreshSyncCollection , EPopRefreshStat , EPopRefreshList , EPopRefreshUidl , EPopRefreshSyncUidl , EPopRefreshGetHeader , EPopRefreshDeleteDeadMessages , EPopRefreshComplete , EPopRefreshDeleteExcessMessages , EPopMigratingBearer
}
Inherited Enumerations
CActive:TPriority
Private Attributes
TInt iCheckDiskSpaceCounter
TInt iCurrentDrive
TBool iEmptyHeaders
TMsvEntry iEntry
TBool iFirstCallToTop
RFs & iFs
TInt32 * iIdTab
TPtrC8 iImMsgId
TInt iLastHeaderToGet
CMsvServerEntry * iLocalEntry
TUint iMboxSize
CMsvEntrySelection * iMessagesToKeep
TBool iMigratingToNewBearer
TInt iMsgCtr
CMsvEntrySelection * iMsvSelection
CArrayFixFlat < TMsvId > * iNewMsg
TUint iNoMessages
TBool iPipeliningSupported
CImPop3UidlMap * iPop3Uidls
CImPop3List * iPopList
CImPop3Retr * iPopRetr
CImPop3Session * iPopSession
CImPop3Stat * iPopStat
CImPop3Top * iPopTop
CImPop3Uidl * iPopUidl
TInt iPreviousIndex
TPop3Progress iProgress
CImRecvConvert * iRecvConverter
TInt iRemoteArrayCtr
TInt iRemoteArraySize
TMsvId iRemoteId
CMsvServerEntry & iRemoteServerEntry
TUint * iSize
TState iState
RArray < TInt > iTemporaryUidlPosArray
TBool iTopExists
CArrayFix < TMsgUidlStore > * iUidlArray
TBool iUidlExists
TKeyArrayFix iUidlKey
RArray < TInt > iUniqueUidlPosArray
CMsvEntrySelection * iUnwantedEntries
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CImPop3RefreshOperation(CMsvServerEntry &, CImPop3Session *, RFs &)

CImPop3RefreshOperation ( CMsvServerEntry & ,
CImPop3Session * ,
RFs &
) [private]

~CImPop3RefreshOperation()

~CImPop3RefreshOperation ( )

Member Functions Documentation

AllocateArraysL()

void AllocateArraysL ( ) [private]

CanDeleteEntry(const TMsvEmailEntry &)

TBool CanDeleteEntry ( const TMsvEmailEntry & aEntry ) const [private]

Parameters

const TMsvEmailEntry & aEntry

CancelAllowResume()

void CancelAllowResume ( )

ChangeStateForMigrate(TState)

void ChangeStateForMigrate ( TState aState ) [private]

Parameters

TState aState

ChangeStateL(TState)

void ChangeStateL ( TState aState ) [private]

Parameters

TState aState

CompareIdAndSizeL()

TBool CompareIdAndSizeL ( ) [private]

CompleteSyncCollection()

void CompleteSyncCollection ( ) [private]

ConstructL()

void ConstructL ( ) [private]

CreateNewHeaderEntryL(TMsvEntry &)

void CreateNewHeaderEntryL ( TMsvEntry & aNewEntry ) [private]

Parameters

TMsvEntry & aNewEntry

CreateUidlFileL()

void CreateUidlFileL ( ) [private]

DeleteUidl(TInt)

void DeleteUidl ( TInt anIndex ) [private]

Parameters

TInt anIndex

DoCancel()

void DoCancel ( ) [private, virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel() .

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel() .

CActive::Cancel

DoComplete(TInt &)

void DoComplete ( TInt & ) [private, virtual]

Parameters

TInt &

DoRunL()

void DoRunL ( ) [private, virtual]

GetCapabilitiesL()

void GetCapabilitiesL ( ) [private]

GetHeaderByIndexL(TInt)

void GetHeaderByIndexL ( TInt ) [private]

Parameters

TInt

GetMessageByIndexL(TInt)

void GetMessageByIndexL ( TInt ) [private]

Parameters

TInt

GetMessagesIfAny()

TBool GetMessagesIfAny ( ) [private]

GetMsgSizesL()

void GetMsgSizesL ( ) [private]

GetMsgUidlsL()

void GetMsgUidlsL ( ) [private]

GetNoMessagesL()

void GetNoMessagesL ( ) [private]

GetRemoteMessagesL()

void GetRemoteMessagesL ( ) [private]

NewL(CMsvServerEntry &, CImPop3Session *, RFs &)

CImPop3RefreshOperation * NewL ( CMsvServerEntry & ,
CImPop3Session * ,
RFs &
) [static]

OpenUidlFileL()

void OpenUidlFileL ( ) [private]

Pause()

void Pause ( )

Progress()

TPop3Progress Progress ( )

QueueRemoteUpdate()

void QueueRemoteUpdate ( ) [private]

RefreshFinishedL()

void RefreshFinishedL ( ) [private]

RemoteMessageSizeL(TMsvId)

TUint RemoteMessageSizeL ( TMsvId aId )

Parameters

TMsvId aId

ResumeL(CImPop3Session *, TRequestStatus &)

void ResumeL ( CImPop3Session * aPopSession,
TRequestStatus & aStatus
)

Parameters

CImPop3Session * aPopSession
TRequestStatus & aStatus

RetrieveHeadersL()

void RetrieveHeadersL ( ) [private]

SelectNextState()

TInt SelectNextState ( ) [private]

SetMessagesToKeepL(const CMsvEntrySelection *)

void SetMessagesToKeepL ( const CMsvEntrySelection * aMessagesToKeep )

Parameters

const CMsvEntrySelection * aMessagesToKeep

Start(TRequestStatus &, CArrayFixFlat< TMsvId > *)

void Start ( TRequestStatus & aStatus,
CArrayFixFlat < TMsvId > * aMsvIdArray
)

Parameters

TRequestStatus & aStatus
CArrayFixFlat < TMsvId > * aMsvIdArray

Start(TRequestStatus &)

void Start ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

SyncCollectionL()

void SyncCollectionL ( ) [private]

SyncUidlL()

void SyncUidlL ( ) [private]

Member Enumerations Documentation

Enum TState

Enumerators

EPopRefreshSyncCollection
EPopRefreshStat
EPopRefreshList
EPopRefreshUidl
EPopRefreshSyncUidl
EPopRefreshGetHeader
EPopRefreshDeleteDeadMessages
EPopRefreshComplete
EPopRefreshDeleteExcessMessages
EPopMigratingBearer

Member Data Documentation

TInt iCheckDiskSpaceCounter

TInt iCheckDiskSpaceCounter [private]

TInt iCurrentDrive

TInt iCurrentDrive [private]

TBool iEmptyHeaders

TBool iEmptyHeaders [private]

TMsvEntry iEntry

TMsvEntry iEntry [private]

TBool iFirstCallToTop

TBool iFirstCallToTop [private]

RFs & iFs

RFs & iFs [private]

TInt32 * iIdTab

TInt32 * iIdTab [private]

TPtrC8 iImMsgId

TPtrC8 iImMsgId [private]

TInt iLastHeaderToGet

TInt iLastHeaderToGet [private]

CMsvServerEntry * iLocalEntry

CMsvServerEntry * iLocalEntry [private]

TUint iMboxSize

TUint iMboxSize [private]

CMsvEntrySelection * iMessagesToKeep

CMsvEntrySelection * iMessagesToKeep [private]

TBool iMigratingToNewBearer

TBool iMigratingToNewBearer [private]

TInt iMsgCtr

TInt iMsgCtr [private]

CMsvEntrySelection * iMsvSelection

CMsvEntrySelection * iMsvSelection [private]

CArrayFixFlat< TMsvId > * iNewMsg

CArrayFixFlat < TMsvId > * iNewMsg [private]

TUint iNoMessages

TUint iNoMessages [private]

TBool iPipeliningSupported

TBool iPipeliningSupported [private]

CImPop3UidlMap * iPop3Uidls

CImPop3UidlMap * iPop3Uidls [private]

CImPop3List * iPopList

CImPop3List * iPopList [private]

CImPop3Retr * iPopRetr

CImPop3Retr * iPopRetr [private]

CImPop3Session * iPopSession

CImPop3Session * iPopSession [private]

CImPop3Stat * iPopStat

CImPop3Stat * iPopStat [private]

CImPop3Top * iPopTop

CImPop3Top * iPopTop [private]

CImPop3Uidl * iPopUidl

CImPop3Uidl * iPopUidl [private]

TInt iPreviousIndex

TInt iPreviousIndex [private]

TPop3Progress iProgress

TPop3Progress iProgress [private]

CImRecvConvert * iRecvConverter

CImRecvConvert * iRecvConverter [private]

TInt iRemoteArrayCtr

TInt iRemoteArrayCtr [private]

TInt iRemoteArraySize

TInt iRemoteArraySize [private]

TMsvId iRemoteId

TMsvId iRemoteId [private]

CMsvServerEntry & iRemoteServerEntry

CMsvServerEntry & iRemoteServerEntry [private]

TUint * iSize

TUint * iSize [private]

TState iState

TState iState [private]

RArray< TInt > iTemporaryUidlPosArray

RArray < TInt > iTemporaryUidlPosArray [private]

TBool iTopExists

TBool iTopExists [private]

CArrayFix< TMsgUidlStore > * iUidlArray

CArrayFix < TMsgUidlStore > * iUidlArray [private]

TBool iUidlExists

TBool iUidlExists [private]

TKeyArrayFix iUidlKey

TKeyArrayFix iUidlKey [private]

RArray< TInt > iUniqueUidlPosArray

RArray < TInt > iUniqueUidlPosArray [private]

CMsvEntrySelection * iUnwantedEntries

CMsvEntrySelection * iUnwantedEntries [private]