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.
Public Member Functions | |
---|---|
~CMsvSendErrorActions() | |
IMPORT_C void | AddSendErrorActionL(const TMsvSendErrorAction &) |
IMPORT_C const TMsvSendErrorAction & | Default() |
IMPORT_C const CArrayFixFlat< TMsvSendErrorAction > & | Errors() |
IMPORT_C TInt | GetSendErrorAction(const TInt, TMsvSendErrorAction &) |
IMPORT_C CMsvSendErrorActions * | NewL() |
IMPORT_C CMsvSendErrorActions * | NewLC() |
IMPORT_C TInt | RemoveSendErrorAction(const TInt) |
IMPORT_C void | Reset() |
IMPORT_C void | RestoreFromResourceL(TResourceReader &) |
IMPORT_C void | SetDefault(const TMsvSendErrorAction &) |
IMPORT_C void | SetErrorsL(const CArrayFixFlat< TMsvSendErrorAction > &) |
Private Member Functions | |
---|---|
CMsvSendErrorActions() | |
void | ConstructL() |
TInt | Find(const TInt, TInt &) |
void | RestoreErrorActionL(TResourceReader &, TInt, const TBool) |
Private Attributes | |
---|---|
TMsvSendErrorAction | iDefault |
CArrayFixFlat< TMsvSendErrorAction > * | iErrors |
IMPORT_C void | AddSendErrorActionL | ( | const TMsvSendErrorAction & | aErrorAction | ) |
const TMsvSendErrorAction & aErrorAction |
IMPORT_C TInt | GetSendErrorAction | ( | const TInt | aError, |
TMsvSendErrorAction & | aErrorAction | |||
) | const |
const TInt aError | |
TMsvSendErrorAction & aErrorAction |
IMPORT_C TInt | RemoveSendErrorAction | ( | const TInt | aError | ) |
const TInt aError |
void | RestoreErrorActionL | ( | TResourceReader & | aReader, |
TInt | aActionCount, | |||
const TBool | aDefault | |||
) | [private] |
TResourceReader & aReader | |
TInt aActionCount | |
const TBool aDefault |
IMPORT_C void | RestoreFromResourceL | ( | TResourceReader & | aReader | ) |
TResourceReader & aReader |
IMPORT_C void | SetDefault | ( | const TMsvSendErrorAction & | aAction | ) |
const TMsvSendErrorAction & aAction |
IMPORT_C void | SetErrorsL | ( | const CArrayFixFlat< TMsvSendErrorAction > & | aErrors | ) |
const CArrayFixFlat< TMsvSendErrorAction > & aErrors |
CArrayFixFlat< TMsvSendErrorAction > * | iErrors | [private] |