CMsvScheduleSettings Class Reference

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.

Inherits from

  • CMsvScheduleSettings
Public Member Functions
~CMsvScheduleSettings()
IMPORT_C TIntervalTypeIntervalType()
IMPORT_C const TTimeIntervalMicroSeconds32 &Latency()
IMPORT_C const TTimeIntervalSeconds &LongInterval()
IMPORT_C CMsvScheduleSettings *NewL()
IMPORT_C CMsvScheduleSettings *NewLC()
IMPORT_C const TTimeIntervalMinutes &PendingConditionsTimeout()
IMPORT_C TIntPriority()
IMPORT_C voidReset()
IMPORT_C voidSetIntervalType(const TIntervalType)
IMPORT_C voidSetLatency(const TTimeIntervalMicroSeconds32 &)
IMPORT_C voidSetLongInterval(const TTimeIntervalSeconds &)
IMPORT_C voidSetPendingConditionsTimeout(const TTimeIntervalMinutes &)
IMPORT_C voidSetPriority(const TInt)
IMPORT_C voidSetShortInterval(const TTimeIntervalSeconds &)
IMPORT_C voidSetValidityPeriod(const TTimeIntervalMinutes &)
IMPORT_C voidSetVariableIntervalsL(const CArrayFixFlat< TTimeIntervalSeconds > &)
IMPORT_C const TTimeIntervalSeconds &ShortInterval()
IMPORT_C const TTimeIntervalMinutes &ValidityPeriod()
IMPORT_C const CArrayFixFlat< TTimeIntervalSeconds > &VariableIntervals()
Private Member Functions
CMsvScheduleSettings()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumanonymous {
EDefaultPriority = 27, EDefaultValidityPeriod = 10080, EDefaultIntervalType = 3, EDefaultShortInterval = 5, EDefaultLongInterval = 120, EDefaultLatency = 1500000, EDefaultPendingConditionsTimeout = 0
}
Private Attributes
TIntervalType iIntervalType
TTimeIntervalMicroSeconds32 iLatency
TTimeIntervalSeconds iLongInterval
TTimeIntervalMinutes iPendingConditionsTimeout
TInt iPriority
TTimeIntervalSeconds iShortInterval
TTimeIntervalMinutes iValidityPeriod
CArrayFixFlat< TTimeIntervalSeconds > *iVariableIntervals

Constructor & Destructor Documentation

CMsvScheduleSettings()

CMsvScheduleSettings()[private]

~CMsvScheduleSettings()

IMPORT_C~CMsvScheduleSettings()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

IntervalType()

IMPORT_C TIntervalTypeIntervalType()const

Latency()

IMPORT_C const TTimeIntervalMicroSeconds32 &Latency()const

LongInterval()

IMPORT_C const TTimeIntervalSeconds &LongInterval()const

NewL()

IMPORT_C CMsvScheduleSettings *NewL()[static]

NewLC()

IMPORT_C CMsvScheduleSettings *NewLC()[static]

PendingConditionsTimeout()

IMPORT_C const TTimeIntervalMinutes &PendingConditionsTimeout()const

Priority()

IMPORT_C TIntPriority()const

Reset()

IMPORT_C voidReset()

SetIntervalType(const TIntervalType)

IMPORT_C voidSetIntervalType(const TIntervalTypeaIntervalType)

Parameters

const TIntervalType aIntervalType

SetLatency(const TTimeIntervalMicroSeconds32 &)

IMPORT_C voidSetLatency(const TTimeIntervalMicroSeconds32 &aLatency)

Parameters

const TTimeIntervalMicroSeconds32 & aLatency

SetLongInterval(const TTimeIntervalSeconds &)

IMPORT_C voidSetLongInterval(const TTimeIntervalSeconds &aInterval)

Parameters

const TTimeIntervalSeconds & aInterval

SetPendingConditionsTimeout(const TTimeIntervalMinutes &)

IMPORT_C voidSetPendingConditionsTimeout(const TTimeIntervalMinutes &aTimeout)

Parameters

const TTimeIntervalMinutes & aTimeout

SetPriority(const TInt)

IMPORT_C voidSetPriority(const TIntaPriority)

Parameters

const TInt aPriority

SetShortInterval(const TTimeIntervalSeconds &)

IMPORT_C voidSetShortInterval(const TTimeIntervalSeconds &aInterval)

Parameters

const TTimeIntervalSeconds & aInterval

SetValidityPeriod(const TTimeIntervalMinutes &)

IMPORT_C voidSetValidityPeriod(const TTimeIntervalMinutes &aValidityPeriod)

Parameters

const TTimeIntervalMinutes & aValidityPeriod

SetVariableIntervalsL(const CArrayFixFlat< TTimeIntervalSeconds > &)

IMPORT_C voidSetVariableIntervalsL(const CArrayFixFlat< TTimeIntervalSeconds > &aIntervals)

Parameters

const CArrayFixFlat< TTimeIntervalSeconds > & aIntervals

ShortInterval()

IMPORT_C const TTimeIntervalSeconds &ShortInterval()const

ValidityPeriod()

IMPORT_C const TTimeIntervalMinutes &ValidityPeriod()const

VariableIntervals()

IMPORT_C const CArrayFixFlat< TTimeIntervalSeconds > &VariableIntervals()const

Member Enumerations Documentation

Enum anonymous

Default scheduler settings values.

Enumerators

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.

Member Data Documentation

TIntervalType iIntervalType

TIntervalType iIntervalType[private]

TTimeIntervalMicroSeconds32 iLatency

TTimeIntervalMicroSeconds32 iLatency[private]

TTimeIntervalSeconds iLongInterval

TTimeIntervalSeconds iLongInterval[private]

TTimeIntervalMinutes iPendingConditionsTimeout

TTimeIntervalMinutes iPendingConditionsTimeout[private]

TInt iPriority

TInt iPriority[private]

TTimeIntervalSeconds iShortInterval

TTimeIntervalSeconds iShortInterval[private]

TTimeIntervalMinutes iValidityPeriod

TTimeIntervalMinutes iValidityPeriod[private]

CArrayFixFlat< TTimeIntervalSeconds > * iVariableIntervals

CArrayFixFlat< TTimeIntervalSeconds > *iVariableIntervals[private]