#include <gsmupdu.h>
class CSmsSubmit : public CSmsPDU |
Public Member Functions | |
---|---|
CSmsSubmit() | |
~CSmsSubmit() | |
IMPORT_C CSmsSubmit * | DuplicateL() |
IMPORT_C TInt | MessageReference() |
IMPORT_C TBool | RejectDuplicates() |
IMPORT_C TBool | ReplyPath() |
IMPORT_C void | SetMessageReference(TInt) |
IMPORT_C void | SetRejectDuplicates(TBool) |
IMPORT_C void | SetReplyPath(TBool) |
IMPORT_C void | SetStatusReportRequest(TBool) |
IMPORT_C void | SetValidityPeriod(const TTimeIntervalMinutes &) |
IMPORT_C void | SetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormat) |
IMPORT_C TBool | StatusReportRequest() |
IMPORT_C const TTimeIntervalMinutes & | ValidityPeriod() |
IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormat | ValidityPeriodFormat() |
Protected Member Functions | |
---|---|
virtual void | ConstructL(CCnvCharacterSetConverter &, RFs &) |
virtual const TSmsDataCodingScheme * | DataCodingScheme() |
virtual void | DecodeL(TGsmuLex8 &) |
virtual TUint8 * | EncodeL(TUint8 *) |
virtual TUint8 * | EncodeL(TUint8 *, const TEncodeParams *) |
virtual void | ExternalizeMessagePDUL(RWriteStream &) |
virtual void | InternalizeMessagePDUL(RReadStream &) |
virtual const TSmsProtocolIdentifier * | ProtocolIdentifier() |
virtual const CSmsAddress * | ToFromAddressPtr() |
virtual const CSmsUserData * | UserDataPtr() |
Inherited Attributes | |
---|---|
CSmsPDU::iServiceCenterAddress |
Inherited Enumerations | |
---|---|
CSmsPDU:TSmsPDUType |
SMS-SUBMIT PDU - MS to SC
void | ConstructL | ( | CCnvCharacterSetConverter & | aCharacterSetConverter, |
RFs & | aFs | |||
) | [protected, virtual] |
Reimplemented from CSmsPDU::ConstructL(CCnvCharacterSetConverter &,RFs &)
const TSmsDataCodingScheme * | DataCodingScheme | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::DataCodingScheme()const
void | DecodeL | ( | TGsmuLex8 & | aPdu | ) | [protected, virtual] |
Reimplemented from CSmsPDU::DecodeL(TGsmuLex8 &)
IMPORT_C CSmsSubmit * | DuplicateL | ( | ) | const |
Reimplemented from CSmsPDU::DuplicateL()const
Duplicates this CSmsSubmit object.
Returns: Pointer to the newly created CSmsSubmit object.
TUint8 * | EncodeL | ( | TUint8 * | aPtr, |
const TEncodeParams * | aEncodeParams | |||
) | const [protected, virtual] |
Reimplemented from CSmsPDU::EncodeL(TUint8 *,const TEncodeParams *)const
void | ExternalizeMessagePDUL | ( | RWriteStream & | aStream | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ExternalizeMessagePDUL(RWriteStream &)const
void | InternalizeMessagePDUL | ( | RReadStream & | aStream | ) | [protected, virtual] |
Reimplemented from CSmsPDU::InternalizeMessagePDUL(RReadStream &)
IMPORT_C TInt | MessageReference | ( | ) | const |
Gets the Message Reference.
Returns: Message Reference
const TSmsProtocolIdentifier * | ProtocolIdentifier | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ProtocolIdentifier()const
IMPORT_C TBool | RejectDuplicates | ( | ) | const |
Gets Reject Duplicates flag.
SUBMITs with duplicate message reference and destination address can be rejected.
Returns: True if the SC is being instructed to reject duplicates
IMPORT_C TBool | ReplyPath | ( | ) | const |
Gets Reply Path flag.
If a Reply Path exists, the recipient of the SMS can reply using the same service center address.
Returns: True if Reply Path exists
IMPORT_C void | SetMessageReference | ( | TInt | aMessageReference | ) |
Sets the Message Reference.
Parameter | Description |
---|---|
aMessageReference | Message Reference |
IMPORT_C void | SetRejectDuplicates | ( | TBool | aRejectDuplicates | ) |
Sets Reject Duplicates flag.
Parameter | Description |
---|---|
aRejectDuplicates | True to instruct the SC to reject duplicates |
IMPORT_C void | SetReplyPath | ( | TBool | aReplyPath | ) |
Sets Reply Path flag.
Parameter | Description |
---|---|
aReplyPath | Set to True to set Reply Path |
IMPORT_C void | SetStatusReportRequest | ( | TBool | aRequest | ) |
Sets Status Report Request flag.
Parameter | Description |
---|---|
aRequest | Status Report Request flag |
IMPORT_C void | SetValidityPeriod | ( | const TTimeIntervalMinutes & | aTimeIntervalMinutes | ) |
Sets the Validity Period for the SUBMIT.
Parameter | Description |
---|---|
aTimeIntervalMinutes | Validity Period |
IMPORT_C void | SetValidityPeriodFormat | ( | TSmsFirstOctet::TSmsValidityPeriodFormat | aValidityPeriodFormat | ) |
Sets the Validity Period Format.
Parameter | Description |
---|---|
aValidityPeriodFormat | Validity Period Format |
IMPORT_C TBool | StatusReportRequest | ( | ) | const |
Gets Status Report Request flag.
A sender can request STATUS REPORTs for the SUBMIT being sent.
Returns: True if the sender is requesting Status Reports
const CSmsAddress * | ToFromAddressPtr | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ToFromAddressPtr()const
const CSmsUserData * | UserDataPtr | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::UserDataPtr()const
IMPORT_C const TTimeIntervalMinutes & | ValidityPeriod | ( | ) | const |
Gets the Validity Period for the SUBMIT.
Returns: Validity Period
IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormat | ValidityPeriodFormat | ( | ) | const |
Gets the Validity Period Format.
Returns: Validity Period Format