CImPop3Session Class Reference

class CImPop3Session : public CMsgActive

Inherits from

Public Member Functions
~CImPop3Session()
voidConnectL(CImPop3Settings *, const CImIAPPreferences &, TRequestStatus &)
TBool IsConnectedToInternet()
TInt MaxHeaders()
TInt32 *MessageArray()
TInt MessageNo(TMsvId)
CImPop3Session *NewL(RSocketServ &, CImConnect &)
TBool PipeliningSupport()
voidQuit(TRequestStatus &)
voidSetMessageArray(TInt32 *, TUint)
voidSetOpNotPending()
voidSetPending()
CImTextServerSession *TextServerSession()
voidWaiting(TRequestStatus &)
Private Member Functions
CImPop3Session()
voidChangeStateL()
voidConstructApopL()
voidConstructL(RSocketServ &, CImConnect &)
voidDoComplete(TInt &)
voidDoRunL()
voidGetCapabilitiesL()
TInt GetPopError()
voidSetOpPending()
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
enumanonymous {
EConnectingToPop, EPopCapabilities, EWaitingForReply, EAuthorisingUser, EAuthorisingPass, EAuthorisingApop, EPopConnected, EStopPop, ERequestingTLS, ESettingTLS, ELoggingEvent
}
Inherited Enumerations
CActive:TPriority
Private Attributes
CImCaf *iCaf
TInt iCompleted
HBufC8 *iConnectReply
TInt32 *iIdTab
TInt iNextState
TInt iNoMessages
TBool iOpPending
HBufC8 *iPopApop
CImPop3Capa *iPopCapabilities
CImPop3Settings *iPopSettings
TBuf8< KImMailMaxBufferSize >iResponseBuffer
CImTextServerSession *iSocket
TBool iSocketConnected
TInt iState
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CImPop3Session()

CImPop3Session()[private]

~CImPop3Session()

~CImPop3Session()

Member Functions Documentation

ChangeStateL()

voidChangeStateL()[private]

ConnectL(CImPop3Settings *, const CImIAPPreferences &, TRequestStatus &)

voidConnectL(CImPop3Settings *aPopSettings,
const CImIAPPreferences &aPrefs,
TRequestStatus &aStatus
)

Parameters

CImPop3Settings * aPopSettings
const CImIAPPreferences & aPrefs
TRequestStatus & aStatus

ConstructApopL()

voidConstructApopL()[private]

ConstructL(RSocketServ &, CImConnect &)

voidConstructL(RSocketServ &aServ,
CImConnect &aConnect
)[private]

Parameters

RSocketServ & aServ
CImConnect & aConnect

DoComplete(TInt &)

voidDoComplete(TInt &)[private, virtual]

Parameters

TInt &

DoRunL()

voidDoRunL()[private, virtual]

GetCapabilitiesL()

voidGetCapabilitiesL()[private]

GetPopError()

TInt GetPopError()[private]

IsConnectedToInternet()

TBool IsConnectedToInternet()

MaxHeaders()

TInt MaxHeaders()

MessageArray()

TInt32 *MessageArray()

MessageNo(TMsvId)

TInt MessageNo(TMsvId)

Parameters

TMsvId

NewL(RSocketServ &, CImConnect &)

CImPop3Session *NewL(RSocketServ &aServ,
CImConnect &aConnect
)[static]

Parameters

RSocketServ & aServ
CImConnect & aConnect

PipeliningSupport()

TBool PipeliningSupport()

Quit(TRequestStatus &)

voidQuit(TRequestStatus &)

Parameters

TRequestStatus &

SetMessageArray(TInt32 *, TUint)

voidSetMessageArray(TInt32 *aIdArray,
TUintaNoMessages
)

Parameters

TInt32 * aIdArray
TUint aNoMessages

SetOpNotPending()

voidSetOpNotPending()

SetOpPending()

voidSetOpPending()[private]

SetPending()

voidSetPending()

TextServerSession()

CImTextServerSession *TextServerSession()

Waiting(TRequestStatus &)

voidWaiting(TRequestStatus &)

Parameters

TRequestStatus &

Member Enumerations Documentation

Enum anonymous

Enumerators

EConnectingToPop
EPopCapabilities
EWaitingForReply
EAuthorisingUser
EAuthorisingPass
EAuthorisingApop
EPopConnected
EStopPop
ERequestingTLS
ESettingTLS
ELoggingEvent

Member Data Documentation

CImCaf * iCaf

CImCaf *iCaf[private]

TInt iCompleted

TInt iCompleted[private]

HBufC8 * iConnectReply

HBufC8 *iConnectReply[private]

TInt32 * iIdTab

TInt32 *iIdTab[private]

TInt iNextState

TInt iNextState[private]

TInt iNoMessages

TInt iNoMessages[private]

TBool iOpPending

TBool iOpPending[private]

HBufC8 * iPopApop

HBufC8 *iPopApop[private]

CImPop3Capa * iPopCapabilities

CImPop3Capa *iPopCapabilities[private]

CImPop3Settings * iPopSettings

CImPop3Settings *iPopSettings[private]

TBuf8< KImMailMaxBufferSize > iResponseBuffer

TBuf8< KImMailMaxBufferSize >iResponseBuffer[private]

CImTextServerSession * iSocket

CImTextServerSession *iSocket[private]

TBool iSocketConnected

TBool iSocketConnected[private]

TInt iState

TInt iState[private]