class TMsvSendErrorAction |
Encapsulates the action to take for a particular error.
An error may occur when the Server MTM is attempting to send a message or messages. If the Server MTM supports scheduling, then, depending on the error or conditions, the Server MTM may want to re-schedule the message on the Task Scheduler to send at a later time. CMsvScheduleSend::ReScheduleL() (in combination with CMsvSendErrorActions ) uses the TMsvSendErrorAction to determine whether to re-schedule the message.
Public Member Functions | |
---|---|
TMsvSendErrorAction () | |
IMPORT_C TInt16 | MaxRetries () |
IMPORT_C void | Reset () |
IMPORT_C void | SetMaxRetries (const TInt16 ) |
Public Attributes | |
---|---|
TMsvSendAction | iAction |
TInt | iError |
TMsvSendRetries | iRetries |
TMsvSendRetrySpacing | iRetrySpacing |
Private Attributes | |
---|---|
TInt16 | iMaxRetries |
IMPORT_C void | SetMaxRetries | ( | const TInt16 | aMaxRetries | ) |
Sets the maximum number of retries.
const TInt16 aMaxRetries | Maximum number of retries. |
TMsvSendRetries | iRetries |
The number of attempts to make at sending a message if this error occurs.
If iRetries equals ESendRetriesInfinite, then sending will be attempted until successful (or the user intervenes). This member is ignored if iAction equals ESendActionFail.
TMsvSendRetrySpacing | iRetrySpacing |
Retry behaviour.
This member is used by CMsvSendErrorActions to determine when to resend the message. This member is ignored if iAction equals ESendActionFail.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.