CImPop3Session Class Reference

class CImPop3Session : public CMsgActive

Inherits from

Public Member Functions
~CImPop3Session ()
void ConnectL ( CImPop3Settings *, const CImIAPPreferences &, TRequestStatus &)
TBool IsConnectedToInternet ()
TInt MaxHeaders ()
TInt32 * MessageArray ()
TInt MessageNo ( TMsvId )
CImPop3Session * NewL ( RSocketServ &, CImConnect &)
TBool PipeliningSupport ()
void Quit ( TRequestStatus &)
void SetMessageArray ( TInt32 *, TUint )
void SetOpNotPending ()
void SetPending ()
CImTextServerSession * TextServerSession ()
void Waiting ( TRequestStatus &)
Private Member Functions
CImPop3Session ()
void ChangeStateL ()
void ConstructApopL ()
void ConstructL ( RSocketServ &, CImConnect &)
void DoComplete ( TInt &)
void DoRunL ()
void GetCapabilitiesL ()
TInt GetPopError ()
void SetOpPending ()
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 anonymous {
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()

void ChangeStateL ( ) [private]

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

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

Parameters

CImPop3Settings * aPopSettings
const CImIAPPreferences & aPrefs
TRequestStatus & aStatus

ConstructApopL()

void ConstructApopL ( ) [private]

ConstructL(RSocketServ &, CImConnect &)

void ConstructL ( RSocketServ & aServ,
CImConnect & aConnect
) [private]

Parameters

RSocketServ & aServ
CImConnect & aConnect

DoComplete(TInt &)

void DoComplete ( TInt & ) [private, virtual]

Parameters

TInt &

DoRunL()

void DoRunL ( ) [private, virtual]

GetCapabilitiesL()

void GetCapabilitiesL ( ) [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 &)

void Quit ( TRequestStatus & )

Parameters

TRequestStatus &

SetMessageArray(TInt32 *, TUint)

void SetMessageArray ( TInt32 * aIdArray,
TUint aNoMessages
)

Parameters

TInt32 * aIdArray
TUint aNoMessages

SetOpNotPending()

void SetOpNotPending ( )

SetOpPending()

void SetOpPending ( ) [private]

SetPending()

void SetPending ( )

TextServerSession()

CImTextServerSession * TextServerSession ( )

Waiting(TRequestStatus &)

void Waiting ( 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]