CMsvSendErrorActions Class Reference

class CMsvSendErrorActions : public CBase

This class determines what action to take if an error occurs while the Server MTM is sending a message (or messages).

It encapsulates an array of TMsvSendErrorAction objects, which it uses to determine the action to take for a particular error. If the error is not found in the array, then CMsvSendErrorActions uses its default TMsvSendErrorAction object.

Inherits from

  • CMsvSendErrorActions

Constructor & Destructor Documentation

CMsvSendErrorActions()

CMsvSendErrorActions()[private]

~CMsvSendErrorActions()

IMPORT_C~CMsvSendErrorActions()

Member Functions Documentation

AddSendErrorActionL(const TMsvSendErrorAction &)

IMPORT_C voidAddSendErrorActionL(const TMsvSendErrorAction &aErrorAction)

Parameters

const TMsvSendErrorAction & aErrorAction

ConstructL()

voidConstructL()[private]

Default()

IMPORT_C const TMsvSendErrorAction &Default()const

Errors()

IMPORT_C const CArrayFixFlat< TMsvSendErrorAction > &Errors()const

Find(const TInt, TInt &)

TInt Find(const TIntaError,
TInt &aIndex
)const [private]

Parameters

const TInt aError
TInt & aIndex

GetSendErrorAction(const TInt, TMsvSendErrorAction &)

IMPORT_C TIntGetSendErrorAction(const TIntaError,
TMsvSendErrorAction &aErrorAction
)const

Parameters

const TInt aError
TMsvSendErrorAction & aErrorAction

NewL()

IMPORT_C CMsvSendErrorActions *NewL()[static]

NewLC()

IMPORT_C CMsvSendErrorActions *NewLC()[static]

RemoveSendErrorAction(const TInt)

IMPORT_C TIntRemoveSendErrorAction(const TIntaError)

Parameters

const TInt aError

Reset()

IMPORT_C voidReset()

RestoreErrorActionL(TResourceReader &, TInt, const TBool)

voidRestoreErrorActionL(TResourceReader &aReader,
TIntaActionCount,
const TBoolaDefault
)[private]

Parameters

TResourceReader & aReader
TInt aActionCount
const TBool aDefault

RestoreFromResourceL(TResourceReader &)

IMPORT_C voidRestoreFromResourceL(TResourceReader &aReader)

Parameters

TResourceReader & aReader

SetDefault(const TMsvSendErrorAction &)

IMPORT_C voidSetDefault(const TMsvSendErrorAction &aAction)

Parameters

const TMsvSendErrorAction & aAction

SetErrorsL(const CArrayFixFlat< TMsvSendErrorAction > &)

IMPORT_C voidSetErrorsL(const CArrayFixFlat< TMsvSendErrorAction > &aErrors)

Parameters

const CArrayFixFlat< TMsvSendErrorAction > & aErrors

Member Data Documentation

TMsvSendErrorAction iDefault

TMsvSendErrorAction iDefault[private]

CArrayFixFlat< TMsvSendErrorAction > * iErrors

CArrayFixFlat< TMsvSendErrorAction > *iErrors[private]