TSmsSettings Class Reference
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
Constructor & Destructor Documentation
TSmsSettings()
Constructor.
Initialises the settings with default values.
Member Functions Documentation
BootTimerTimeout()
Gets the Boot Timer Timeout value
DeletePDUsFromCombinedStores()
TBool
| DeletePDUsFromCombinedStores | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the combined store.
DeletePDUsFromPhoneStores()
TBool
| DeletePDUsFromPhoneStores | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the phone store.
DeletePDUsFromSIM()
TBool
| DeletePDUsFromSIM | ( | ) | const [inline] |
Gets whether the PDU can be deleted from the SIM.
ExternalizeL(RWriteStream &)
Externalises the object.
Gets the SMS sttings from the stream store.
InternalizeL(RReadStream &)
Internalises the object.
Sets the SMS sttings from the stream store.
KSegmentationLifetimeMultiplier()
TInt
| KSegmentationLifetimeMultiplier | ( | ) | const [inline] |
Gets the value of the segmentation store multiplier.
ModemInitializationTimeout()
Gets the value of the modem initialisation timeout duration.
ReassemblyLifetime()
Gets the value of the Reassembly store life time.
SendTryLimit()
TInt
| SendTryLimit | ( | ) | const [inline] |
Gets the maximum number of attempts to send an SMS.
SendTryTimeout()
Gets the Send Try Timeout value
SetBootTimerTimeout(const TTimeIntervalMicroSeconds32 &)
Sets the Boot Timer Timeout value
SetDeletePDUsFromCombinedStores(TBool)
void | SetDeletePDUsFromCombinedStores | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the combined store.
Parameters
TBool aDelete | True if the PDU can be deleted from the combined store |
SetDeletePDUsFromPhoneStores(TBool)
void | SetDeletePDUsFromPhoneStores | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the phone store.
Parameters
TBool aDelete | True if the PDU can be deleted from phone store |
SetDeletePDUsFromSIM(TBool)
void | SetDeletePDUsFromSIM | ( | TBool | aDelete | ) | [inline] |
Sets whether the PDU can be deleted from the SIM.
Parameters
TBool aDelete | True if the PDU can be deleted from the SIM |
SetKSegmentationLifetimeMultiplier(TInt)
void | SetKSegmentationLifetimeMultiplier | ( | TInt | aKSegmentationLifetimeMultiplier | ) | [inline] |
Sets the value of the segmentation store multiplier.
Parameters
TInt aKSegmentationLifetimeMultiplier | Segmentation store multiplier |
SetModemInitializationTimeout(const TTimeIntervalMicroSeconds32 &)
Sets the value of the modem initialisation timeout duration.
SetReassemblyLifetime(const TTimeIntervalMinutes &)
Sets the value of the Reassembly store life time.
SetSendTryLimit(TInt)
void | SetSendTryLimit | ( | TInt | aLimit | ) | [inline] |
Sets the maximum number of attempts to send an SMS.
Parameters
TInt aLimit | Maximum number of attempts to send a SMS |
SetSendTryTimeout(const TTimeIntervalMicroSeconds32 &)
Sets the Send Try Timeout value.
SetTimeout(const TTimeIntervalMicroSeconds32 &)
Member Enumerations Documentation
Enum anonymous
Enumerators
KDefaultTimeoutMicroSeconds32 = 60000000 | |
Enum anonymous
Enumerators
KDefaultReassemblyLifetime = 2*1440 | |
Enum anonymous
Enumerators
KDefaultKSegmentationLifetimeMultiplier = 1200 | |
Enum anonymous
Enumerators
KDefaultModemInitializationTimeoutMicroSeconds32 = 30000000 | |
Enum anonymous
Enumerators
KDefaultSendTryTimeoutMicroSeconds32 = 60000000 | |
Enum anonymous
Enumerators
KDefaultBootTimerMicroSeconds32 = 60000000 | |
Enum TSmsSettingsFlags
Enumerators
ESmsFlagDeletePDUsFromSIM = 0x01 | |
ESmsFlagDeletePDUsFromPhoneStores = 0x02 | |
ESmsFlagDeletePDUsFromCombinedStores = 0x04 | |
Member Data Documentation
TTimeIntervalMicroSeconds32
iBootTimerTimeout32
TInt
iKSegmentationLifetimeMultiplier
TInt
| iKSegmentationLifetimeMultiplier | [private] |
TTimeIntervalMicroSeconds32
iModemInitializationTimeoutMicroSeconds32
TTimeIntervalMinutes
iReassemblyLifetime
TInt
iSendTryLimit
TInt
| iSendTryLimit | [private] |
Number of attempts for sending a PDU. 7.0
TTimeIntervalMicroSeconds32
iSendTryTimeoutMicroSeconds32
TTimeIntervalMicroSeconds32
iTimeoutMicroSeconds32
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.