class TSmsSettings |
SMS settings.
SMSPROT uses an instance of TSmsSettings to configure the sms stack timeouts.
The SMSPROT calls TSmsSettings' default constructor during initialisation. It then parses smswap.sms.esk for customised settings and updates its instance of TSmsSettings accordingly.
Customised settings in smswap.sms.esk should comply with the following syntax:
[customTimeoutSettings] sendTryTimeout= value bootTimerTimeout = value
where the identifier 'value' is to be substituted with an integer value. Integer values less than zero will cause the stack to leave.
Only parameters that need to be customised are required in smswap.sms.esk
Private Member Enumerations | |
---|---|
enum | anonymous { KDefaultTimeoutMicroSeconds32 = 60000000 } |
enum | anonymous { KDefaultSendTryLimit = 4 } |
enum | anonymous { KDefaultReassemblyLifetime = 2*1440 } |
enum | anonymous { KDefaultKSegmentationLifetimeMultiplier = 1200 } |
enum | anonymous { KDefaultModemInitializationTimeoutMicroSeconds32 = 30000000 } |
enum | anonymous { KDefaultSendTryTimeoutMicroSeconds32 = 60000000 } |
enum | anonymous { KDefaultBootTimerMicroSeconds32 = 60000000 } |
enum | TSmsSettingsFlags { ESmsFlagDeletePDUsFromSIM = 0x01, ESmsFlagDeletePDUsFromPhoneStores = 0x02, ESmsFlagDeletePDUsFromCombinedStores = 0x04 } |
IMPORT_C | TSmsSettings | ( | ) |
Constructor.
Initialises the settings with default values.
const TTimeIntervalMicroSeconds32 & | BootTimerTimeout | ( | ) | [inline] |
Gets the Boot Timer Timeout value
TBool | DeletePDUsFromCombinedStores | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the combined store.
TBool | DeletePDUsFromPhoneStores | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the phone store.
TBool | DeletePDUsFromSIM | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the SIM.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises the object.
Gets the SMS sttings from the stream store.
RWriteStream & aStream | Stream to write to |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalises the object.
Sets the SMS sttings from the stream store.
RReadStream & aStream | Stream to read from |
TInt | KSegmentationLifetimeMultiplier | ( | ) | const [inline] |
Gets the value of the segmentation store multiplier.
const TTimeIntervalMicroSeconds32 & | ModemInitializationTimeout | ( | ) | const [inline] |
Gets the value of the modem initialisation timeout duration.
const TTimeIntervalMinutes & | ReassemblyLifetime | ( | ) | const [inline] |
Gets the value of the Reassembly store life time.
TInt | SendTryLimit | ( | ) | const [inline] |
Gets the maximum number of attempts to send an SMS.
const TTimeIntervalMicroSeconds32 & | SendTryTimeout | ( | ) | const [inline] |
Gets the Send Try Timeout value
void | SetBootTimerTimeout | ( | const TTimeIntervalMicroSeconds32 & | aTimeout | ) | [inline] |
Sets the Boot Timer Timeout value
const TTimeIntervalMicroSeconds32 & aTimeout | Time-out value |
void | SetDeletePDUsFromCombinedStores | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the combined store.
TBool aDelete | True if the PDU can be deleted from the combined store |
void | SetDeletePDUsFromPhoneStores | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the phone store.
TBool aDelete | True if the PDU can be deleted from phone store |
void | SetDeletePDUsFromSIM | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the SIM.
TBool aDelete | True if the PDU can be deleted from the SIM |
void | SetKSegmentationLifetimeMultiplier | ( | TInt | aKSegmentationLifetimeMultiplier | ) | [inline] |
Sets the value of the segmentation store multiplier.
TInt aKSegmentationLifetimeMultiplier | Segmentation store multiplier |
void | SetModemInitializationTimeout | ( | const TTimeIntervalMicroSeconds32 & | aTimeout | ) | [inline] |
Sets the value of the modem initialisation timeout duration.
const TTimeIntervalMicroSeconds32 & aTimeout | Modem initialisation timeout duration |
void | SetReassemblyLifetime | ( | const TTimeIntervalMinutes & | aReassemblyLifetime | ) | [inline] |
Sets the value of the Reassembly store life time.
const TTimeIntervalMinutes & aReassemblyLifetime | Reassembly store life time |
void | SetSendTryLimit | ( | TInt | aLimit | ) | [inline] |
Sets the maximum number of attempts to send an SMS.
TInt aLimit | Maximum number of attempts to send a SMS |
void | SetSendTryTimeout | ( | const TTimeIntervalMicroSeconds32 & | aTimeout | ) | [inline] |
Sets the Send Try Timeout value.
const TTimeIntervalMicroSeconds32 & aTimeout | Time-out value |
void | SetTimeout | ( | const TTimeIntervalMicroSeconds32 & | aTimeout | ) | [inline] |
Sets the time-out value.
const TTimeIntervalMicroSeconds32 & aTimeout | Time-out value |
ESmsFlagDeletePDUsFromSIM = 0x01 | |
ESmsFlagDeletePDUsFromPhoneStores = 0x02 | |
ESmsFlagDeletePDUsFromCombinedStores = 0x04 |
TTimeIntervalMicroSeconds32 | iBootTimerTimeout32 | [private] |
TTimeIntervalMicroSeconds32 | iModemInitializationTimeoutMicroSeconds32 | [private] |
TTimeIntervalMicroSeconds32 | iSendTryTimeoutMicroSeconds32 | [private] |
TTimeIntervalMicroSeconds32 | iTimeoutMicroSeconds32 | [private] |
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.