class CMsvScheduleSettings : public CBase |
Stores the MTM-specific (general) settings for scheduling messages on the Task Scheduler.
These settings include the latency (minimum amount of time between now and when the message is scheduled for), the intervals (short, long or variable) to wait for before attempting to re-send the message and the timout value for messages pending conditions to be met.
The other MTM scheduling releated settings are stored in CMsvOffPeakTimes and CMsvSendErrorActions.
Private Member Functions | |
---|---|
CMsvScheduleSettings() | |
void | ConstructL() |
Public Member Enumerations | |
---|---|
enum | anonymous { EDefaultPriority = 27, EDefaultValidityPeriod = 10080, EDefaultIntervalType = 3, EDefaultShortInterval = 5, EDefaultLongInterval = 120, EDefaultLatency = 1500000, EDefaultPendingConditionsTimeout = 0 } |
IMPORT_C void | SetIntervalType | ( | const TIntervalType | aIntervalType | ) |
const TIntervalType aIntervalType |
IMPORT_C void | SetLatency | ( | const TTimeIntervalMicroSeconds32 & | aLatency | ) |
const TTimeIntervalMicroSeconds32 & aLatency |
IMPORT_C void | SetLongInterval | ( | const TTimeIntervalSeconds & | aInterval | ) |
const TTimeIntervalSeconds & aInterval |
IMPORT_C void | SetPendingConditionsTimeout | ( | const TTimeIntervalMinutes & | aTimeout | ) |
const TTimeIntervalMinutes & aTimeout |
IMPORT_C void | SetPriority | ( | const TInt | aPriority | ) |
const TInt aPriority |
IMPORT_C void | SetShortInterval | ( | const TTimeIntervalSeconds & | aInterval | ) |
const TTimeIntervalSeconds & aInterval |
IMPORT_C void | SetValidityPeriod | ( | const TTimeIntervalMinutes & | aValidityPeriod | ) |
const TTimeIntervalMinutes & aValidityPeriod |
IMPORT_C void | SetVariableIntervalsL | ( | const CArrayFixFlat< TTimeIntervalSeconds > & | aIntervals | ) |
const CArrayFixFlat< TTimeIntervalSeconds > & aIntervals |
Default scheduler settings values.
EDefaultPriority = 27 |
Default priority. |
EDefaultValidityPeriod = 10080 |
Default validity period: 10080 Minutes in 1 week. |
EDefaultIntervalType = 3 |
Default interval type: EYearly |
EDefaultShortInterval = 5 |
Default short retry interval. |
EDefaultLongInterval = 120 |
Default long retry interval. |
EDefaultLatency = 1500000 |
Default latency. |
EDefaultPendingConditionsTimeout = 0 |
Default timeout. Zero minutes - no timeout. |
TTimeIntervalMinutes | iPendingConditionsTimeout | [private] |
CArrayFixFlat< TTimeIntervalSeconds > * | iVariableIntervals | [private] |