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]

Protected base class default constructor.

Member Functions Documentation

Error()

TInt Error()const [inline]

Gets any error code for message sending to the recipient.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the object to a write stream.

Parameters

RWriteStream & aStreamStream to which the object should be externalised.

IncreaseRetries()

voidIncreaseRetries()[inline]

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

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the object from a read stream.

Parameters

RReadStream & aStreamThe stream from which the object should be internalised.

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.

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.

Time()

const TTime &Time()const [inline]

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

Time()

TTime &Time()[inline]

Gets the (writable) 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]