TImSmtpProgress Class Reference

class TImSmtpProgress

Progress information for SMTP operations on the Internet Mail MTM.

The information is obtained through calling CMsvOperation::Progress() on the operation. It is packaged into an 8-bit descriptor.

Messaging clients use the getter functions to get various types of information about an operation's progress. The setter functions are for use by the MTM.

Public Member Functions
IMPORT_C TInt ConnectionIAP ()
IMPORT_C TInt ConnectionState ()
IMPORT_C void DecrementSendTotal ()
IMPORT_C TInt Error ()
IMPORT_C TInt FailedToSend ()
IMPORT_C void InitialiseTotal (const TInt &)
IMPORT_C TInt MsgNo ()
IMPORT_C TInt NotSent ()
IMPORT_C TInt SendTotal ()
IMPORT_C TInt Sent ()
IMPORT_C TMsvId ServiceId ()
IMPORT_C void SetConnectionIAP ( TInt )
IMPORT_C void SetError ( TInt )
IMPORT_C void SetMsgNo ( TInt )
IMPORT_C void SetServiceId ( TMsvId )
IMPORT_C void SetStatus ( TMsgImOutboxSendState )
IMPORT_C TMsgImOutboxSendState Status ()
IMPORT_C void UpdateFailedToSend ()
IMPORT_C void UpdateSent ()
Public Attributes
TImImailFileProgress iSendFileProgress
Private Attributes
TInt iError
TInt iFailedToSend
TInt iMsgNo
TInt iNotSent
TInt iSendTotal
TInt iSent
TMsvId iServiceId
TMsgImOutboxSendState iStatus

Member Functions Documentation

ConnectionIAP()

IMPORT_C TInt ConnectionIAP ( ) const

ConnectionState()

IMPORT_C TInt ConnectionState ( ) const

DecrementSendTotal()

IMPORT_C void DecrementSendTotal ( )

Error()

IMPORT_C TInt Error ( ) const

FailedToSend()

IMPORT_C TInt FailedToSend ( ) const

InitialiseTotal(const TInt &)

IMPORT_C void InitialiseTotal ( const TInt & aTotal )

Parameters

const TInt & aTotal

MsgNo()

IMPORT_C TInt MsgNo ( ) const

NotSent()

IMPORT_C TInt NotSent ( ) const

SendTotal()

IMPORT_C TInt SendTotal ( ) const

Sent()

IMPORT_C TInt Sent ( ) const

ServiceId()

IMPORT_C TMsvId ServiceId ( ) const

SetConnectionIAP(TInt)

IMPORT_C void SetConnectionIAP ( TInt aConnectionIAP )

Parameters

TInt aConnectionIAP

SetError(TInt)

IMPORT_C void SetError ( TInt anError )

Parameters

TInt anError

SetMsgNo(TInt)

IMPORT_C void SetMsgNo ( TInt aMsgNo )

Parameters

TInt aMsgNo

SetServiceId(TMsvId)

IMPORT_C void SetServiceId ( TMsvId aServiceId )

Parameters

TMsvId aServiceId

SetStatus(TMsgImOutboxSendState)

IMPORT_C void SetStatus ( TMsgImOutboxSendState aStatus )

Parameters

TMsgImOutboxSendState aStatus

Status()

IMPORT_C TMsgImOutboxSendState Status ( ) const

UpdateFailedToSend()

IMPORT_C void UpdateFailedToSend ( )

UpdateSent()

IMPORT_C void UpdateSent ( )

Member Data Documentation

TInt iError

TInt iError [private]

TInt iFailedToSend

TInt iFailedToSend [private]

TInt iMsgNo

TInt iMsgNo [private]

TInt iNotSent

TInt iNotSent [private]

TImImailFileProgress iSendFileProgress

TImImailFileProgress iSendFileProgress

Status information about the message that is currently being sent (if sending is in progress).

TInt iSendTotal

TInt iSendTotal [private]

TInt iSent

TInt iSent [private]

TMsvId iServiceId

TMsvId iServiceId [private]

TMsgImOutboxSendState iStatus

TMsgImOutboxSendState iStatus [private]