CMsvRecipient Class Reference

class CMsvRecipient : public CBase

Base class for information relating to a message recipient.

Inherits from

Constructor & Destructor Documentation

CMsvRecipient()

IMPORT_CCMsvRecipient()[protected]

Member Functions Documentation

Error()

TInt Error()const [inline]

Gets any error code for message sending to the recipient.

System wide error code

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Parameters

RWriteStream & aStream

IncreaseRetries()

voidIncreaseRetries()[inline]

Increments the number of retries for message sending to the recipient.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Parameters

RReadStream & aStream

ResetRetries()

voidResetRetries()[inline]

Resets the number of retries for message sending to the recipient to zero.

Retries()

TInt Retries()const [inline]

Gets the number of retries for message sending to the recipient.

Number of retries

SetError(TInt)

voidSetError(TIntaError)[inline]

Sets any error code for message sending to the recipient.

Parameters

TInt aErrorSystem wide error code

SetStatus(TRecipientStatus)

voidSetStatus(TRecipientStatusaStatus)[inline]

Sets the message sending status for the recipient.

Parameters

TRecipientStatus aStatusMessage sending status for the recipient

Status()

TRecipientStatus Status()const [inline]

Gets the message sending status for the recipient.

Message sending status for the recipient

Time()

const TTime &Time()const [inline]

Gets the (const) time for message sending to the recipient.

Time for message sending to the recipient

Time()

TTime &Time()[inline]

Gets the (writable) time for message sending to the recipient.

Time for message sending to the recipient

Member Enumerations Documentation

Enum TRecipientStatus

Message sending status for a recipient.

Enumerators

ENotYetSent = 0

Message is not sent.

ESentSuccessfully = 1

Message has been sent.

EFailedToSend = 2

Message sending failed.

Member Data Documentation

TInt iError

TInt iError[private]

TInt iRetries

TInt iRetries[private]

TRecipientStatus iStatus

TRecipientStatus iStatus[private]

TTime iTime

TTime iTime[private]