»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Narrow Band Protocols SMSSTACK »
CSmsSubmit
Location:
gsmupdu.h
Link against: gsmu.lib
class CSmsSubmit : public CSmsPDU;
Description
SMS-SUBMIT PDU - MS to SC
Derivation
CBase - Base class for all classes to be instantiated on the heap
CSmsPDU - A generic interface to a GSM SMS PDU
CSmsSubmit - SMS-SUBMIT PDU - MS to SC
Members
Defined in CSmsSubmit:
ConstructL(), DataCodingScheme(), DecodeL(), EncodeL(), ExternalizeMessagePDUL(), InternalizeMessagePDUL(), MessageReference(), ProtocolIdentifier(), RejectDuplicates(), ReplyPath(), SetMessageReference(), SetRejectDuplicates(), SetReplyPath(), SetStatusReportRequest(), SetValidityPeriod(), SetValidityPeriodFormat(), StatusReportRequest(), ToFromAddressPtr(), UserDataPtr(), ValidityPeriod(), ValidityPeriodFormat()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CSmsPDU:
Alphabet(),
ApplicationPortAddressing(),
Bits7To4(),
Class(),
ConcatenatedMessagePDUIndex(),
ConcatenatedMessageReference(),
DataCodingSchemePresent(),
ESmsCommand,
ESmsDeliver,
ESmsDeliverReport,
ESmsStatusReport,
ESmsSubmit,
ESmsSubmitReport,
EncodeMessagePDUL(),
ExternalizeL(),
IndicationState(),
IndicationType(),
NewL(),
NumConcatenatedMessagePDUs(),
PIDType(),
ParameterIndicator(),
ParsedServiceCenterAddress(),
ParsedToFromAddress(),
ProtocolIdentifierPresent(),
ServiceCenterAddress(),
SetAlphabet(),
SetApplicationPortAddressingL(),
SetBits7To4(),
SetClass(),
SetConcatenatedMessagePDUIndex(),
SetConcatenatedMessageReference(),
SetDataCodingSchemePresent(),
SetIndicationState(),
SetIndicationType(),
SetNumConcatenatedMessagePDUs(),
SetPIDType(),
SetParsedServiceCenterAddressL(),
SetParsedToFromAddressL(),
SetProtocolIdentifierPresent(),
SetServiceCenterAddressL(),
SetShortMessageType(),
SetTelematicDeviceIndicator(),
SetTelematicDeviceType(),
SetTextCompressed(),
SetTextConcatenatedL(),
SetToFromAddressL(),
SetUserDataPresent(),
ShortMessageType(),
TSmsPDUType,
TelematicDeviceIndicator(),
TelematicDeviceType(),
TextCompressed(),
TextConcatenated(),
ToFromAddress(),
Type(),
UserData(),
UserDataPresent(),
iServiceCenterAddress
Construction and destruction
protected: virtual void ConstructL(CCnvCharacterSetConverter &aCharacterSetConverter, RFs &aFs);
Description
Parameters
IMPORT_C TBool RejectDuplicates() const;
Description
Gets Reject Duplicates flag.
SUBMITs with duplicate message reference and destination address can be rejected.
Return value
TBool
|
True if the SC is being instructed to reject duplicates
|
|
IMPORT_C void SetRejectDuplicates(TBool aRejectDuplicates);
Description
Sets Reject Duplicates flag.
Parameters
TBool aRejectDuplicates |
True to instruct the SC to reject duplicates
|
|
IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormat ValidityPeriodFormat() const;
Description
Gets the Validity Period Format.
Return value
SetValidityPeriodFormat()
IMPORT_C void SetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormat aValidityPeriodFormat);
Description
Sets the Validity Period Format.
Parameters
IMPORT_C TBool ReplyPath() const;
Description
Gets Reply Path flag.
If a Reply Path exists, the recipient of the SMS can reply using the same service center address.
Return value
TBool
|
True if Reply Path exists
|
|
IMPORT_C void SetReplyPath(TBool aReplyPath);
Description
Sets Reply Path flag.
Parameters
TBool aReplyPath |
Set to True to set Reply Path
|
|
IMPORT_C TBool StatusReportRequest() const;
Description
Gets Status Report Request flag.
A sender can request STATUS REPORTs for the SUBMIT being sent.
Return value
TBool
|
True if the sender is requesting Status Reports
|
|
IMPORT_C void SetStatusReportRequest(TBool aRequest);
Description
Sets Status Report Request flag.
Parameters
TBool aRequest |
Status Report Request flag
|
|
IMPORT_C TInt MessageReference() const;
Description
Sets the Message Reference.
Return value
IMPORT_C void SetMessageReference(TInt aMessageReference);
Description
Gets the Message Reference.
Parameters
TInt aMessageReference |
Message Reference
|
|
IMPORT_C const TTimeIntervalMinutes &ValidityPeriod() const;
Description
Gets the Validity Period for the SUBMIT.
Return value
IMPORT_C void SetValidityPeriod(const TTimeIntervalMinutes &aTimeIntervalMinutes);
Description
Sets the Validity Period for the SUBMIT.
Parameters
protected: virtual const TSmsDataCodingScheme *DataCodingScheme() const;
Description
Return value
protected: virtual const TSmsProtocolIdentifier *ProtocolIdentifier() const;
Description
Return value
protected: virtual const CSmsUserData *UserDataPtr() const;
Description
Return value
protected: virtual const CSmsAddress *ToFromAddressPtr() const;
Description
Return value
protected: virtual TUint8 *EncodeL(TUint8 *aPtr) const;
Description
Parameters
Return value
protected: virtual void DecodeL(TGsmuLex8 &aPdu);
Description
Parameters
protected: virtual void InternalizeMessagePDUL(RReadStream &aStream);
Description
Parameters
protected: virtual void ExternalizeMessagePDUL(RWriteStream &aStream) const;
Description
Parameters