CSmsSubmit Class Reference

#include <gsmupdu.h>

Link against: gsmu.lib

class CSmsSubmit : public CSmsPDU

Inherits from

Public Member Functions
CSmsSubmit()
~CSmsSubmit()
IMPORT_C CSmsSubmit *DuplicateL()
IMPORT_C TIntMessageReference()
IMPORT_C TBoolRejectDuplicates()
IMPORT_C TBoolReplyPath()
IMPORT_C voidSetMessageReference(TInt)
IMPORT_C voidSetRejectDuplicates(TBool)
IMPORT_C voidSetReplyPath(TBool)
IMPORT_C voidSetStatusReportRequest(TBool)
IMPORT_C voidSetValidityPeriod(const TTimeIntervalMinutes &)
IMPORT_C voidSetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormat)
IMPORT_C TBoolStatusReportRequest()
IMPORT_C const TTimeIntervalMinutes &ValidityPeriod()
IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormatValidityPeriodFormat()
Protected Member Functions
virtual voidConstructL(CCnvCharacterSetConverter &, RFs &)
virtual const TSmsDataCodingScheme *DataCodingScheme()
virtual voidDecodeL(TGsmuLex8 &)
virtual TUint8 *EncodeL(TUint8 *)
virtual TUint8 *EncodeL(TUint8 *, const TEncodeParams *)
virtual voidExternalizeMessagePDUL(RWriteStream &)
virtual voidInternalizeMessagePDUL(RReadStream &)
virtual const TSmsProtocolIdentifier *ProtocolIdentifier()
virtual const CSmsAddress *ToFromAddressPtr()
virtual const CSmsUserData *UserDataPtr()
Inherited Attributes
CSmsPDU::iServiceCenterAddress
Inherited Enumerations
CSmsPDU:TSmsPDUType
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()
CSmsPDU::Alphabet()const
CSmsPDU::ApplicationPortAddressing(TInt &,TInt &,TBool *)const
CSmsPDU::Bits7To4()const
CSmsPDU::CSmsPDU(TSmsPDUType)
CSmsPDU::Class(TSmsDataCodingScheme::TSmsClass &)const
CSmsPDU::ConcatenatedMessagePDUIndex()const
CSmsPDU::ConcatenatedMessageReference()const
CSmsPDU::DataCodingSchemePresent()const
CSmsPDU::EncodeMessagePDUL(TGsmSms &)const
CSmsPDU::EncodeMessagePDUL(TGsmSms &,const TEncodeParams *)const
CSmsPDU::ExternalizeL(RWriteStream &)const
CSmsPDU::IndicationState()const
CSmsPDU::IndicationType()const
CSmsPDU::NationalLanguageEncoding()const
CSmsPDU::NewL(RReadStream &,CCnvCharacterSetConverter &,RFs &)
CSmsPDU::NewL(TSmsPDUType,CCnvCharacterSetConverter &,RFs &,TBool)
CSmsPDU::NewL(const TGsmSms &,CCnvCharacterSetConverter &,RFs &,TBool,TBool)
CSmsPDU::NumConcatenatedMessagePDUs()const
CSmsPDU::PIDType()const
CSmsPDU::ParameterIndicator()const
CSmsPDU::ParsedServiceCenterAddress(TGsmSmsTelNumber &)const
CSmsPDU::ParsedToFromAddress(TGsmSmsTelNumber &)const
CSmsPDU::ProtocolIdentifierPresent()const
CSmsPDU::ServiceCenterAddress()const
CSmsPDU::SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet)
CSmsPDU::SetApplicationPortAddressingL(TBool,TInt,TInt,TBool)
CSmsPDU::SetBits7To4(TSmsDataCodingScheme::TSmsDCSBits7To4)
CSmsPDU::SetClass(TBool,TSmsDataCodingScheme::TSmsClass)
CSmsPDU::SetConcatenatedMessagePDUIndex(TInt)
CSmsPDU::SetConcatenatedMessageReference(TInt)
CSmsPDU::SetDataCodingSchemePresent(TBool)
CSmsPDU::SetIndicationState(TSmsDataCodingScheme::TSmsIndicationState)
CSmsPDU::SetIndicationType(TSmsDataCodingScheme::TSmsIndicationType)
CSmsPDU::SetNationalLanguageEncodingL(TSmsEncoding)
CSmsPDU::SetNumConcatenatedMessagePDUs(TInt)
CSmsPDU::SetPIDType(TSmsProtocolIdentifier::TSmsPIDType)
CSmsPDU::SetParsedServiceCenterAddressL(const TGsmSmsTelNumber &)
CSmsPDU::SetParsedToFromAddressL(const TGsmSmsTelNumber &)
CSmsPDU::SetProtocolIdentifierPresent(TBool)
CSmsPDU::SetServiceCenterAddressL(const TDesC &)
CSmsPDU::SetShortMessageType(TSmsProtocolIdentifier::TSmsShortMessageType)
CSmsPDU::SetTelematicDeviceIndicator(TSmsProtocolIdentifier::TSmsTelematicDeviceIndicator)
CSmsPDU::SetTelematicDeviceType(TSmsProtocolIdentifier::TSmsTelematicDeviceType)
CSmsPDU::SetTextCompressed(TBool)
CSmsPDU::SetTextConcatenatedL(TBool,TBool)
CSmsPDU::SetToFromAddressL(const TDesC &)
CSmsPDU::SetUserDataPresent(TBool)
CSmsPDU::ShortMessageType()const
CSmsPDU::TelematicDeviceIndicator()const
CSmsPDU::TelematicDeviceType()const
CSmsPDU::TextCompressed()const
CSmsPDU::TextConcatenated(TBool *)const
CSmsPDU::ToFromAddress()const
CSmsPDU::Type()const
CSmsPDU::UpdateConcatenationDataL(TInt,TInt,TInt)
CSmsPDU::UpdateEmailHeaderDataL(TInt &)
CSmsPDU::UpdateSMSCCtrlParameterL(const TUint8)
CSmsPDU::UpdateTPSRRL(TSmsFirstOctet)
CSmsPDU::UserData()
CSmsPDU::UserData()const
CSmsPDU::UserDataPresent()const

Detailed Description

SMS-SUBMIT PDU - MS to SC

Constructor & Destructor Documentation

CSmsSubmit ( )

CSmsSubmit()

~CSmsSubmit ( )

~CSmsSubmit()

Destructor.

Member Function Documentation

ConstructL ( CCnvCharacterSetConverter &, RFs & )

voidConstructL(CCnvCharacterSetConverter &aCharacterSetConverter,
RFs &aFs
)[protected, virtual]

DataCodingScheme ( )

const TSmsDataCodingScheme *DataCodingScheme()const [protected, virtual]

DecodeL ( TGsmuLex8 & )

voidDecodeL(TGsmuLex8 &aPdu)[protected, virtual]

DuplicateL ( )

IMPORT_C CSmsSubmit *DuplicateL()const

Reimplemented from CSmsPDU::DuplicateL()const

Duplicates this CSmsSubmit object.

Return Value
Pointer to the newly created CSmsSubmit object.

EncodeL ( TUint8 * )

TUint8 *EncodeL(TUint8 *aPtr)const [protected, virtual]

EncodeL ( TUint8 *, const TEncodeParams * )

TUint8 *EncodeL(TUint8 *aPtr,
const TEncodeParams *aEncodeParams
)const [protected, virtual]

ExternalizeMessagePDUL ( RWriteStream & )

voidExternalizeMessagePDUL(RWriteStream &aStream)const [protected, virtual]

InternalizeMessagePDUL ( RReadStream & )

voidInternalizeMessagePDUL(RReadStream &aStream)[protected, virtual]

MessageReference ( )

IMPORT_C TIntMessageReference()const

Gets the Message Reference.

Return Value
Message Reference
Capability
None

ProtocolIdentifier ( )

const TSmsProtocolIdentifier *ProtocolIdentifier()const [protected, virtual]

RejectDuplicates ( )

IMPORT_C TBoolRejectDuplicates()const

Gets Reject Duplicates flag.

SUBMITs with duplicate message reference and destination address can be rejected.

Return Value
True if the SC is being instructed to reject duplicates
Capability
None

ReplyPath ( )

IMPORT_C TBoolReplyPath()const

Gets Reply Path flag.

If a Reply Path exists, the recipient of the SMS can reply using the same service center address.

Return Value
True if Reply Path exists
Capability
None

SetMessageReference ( TInt )

IMPORT_C voidSetMessageReference(TIntaMessageReference)

Sets the Message Reference.

Parameters
aMessageReferenceMessage Reference
Capability
None

SetRejectDuplicates ( TBool )

IMPORT_C voidSetRejectDuplicates(TBoolaRejectDuplicates)

Sets Reject Duplicates flag.

Parameters
aRejectDuplicatesTrue to instruct the SC to reject duplicates
Capability
None

SetReplyPath ( TBool )

IMPORT_C voidSetReplyPath(TBoolaReplyPath)

Sets Reply Path flag.

Parameters
aReplyPathSet to True to set Reply Path
Capability
None

SetStatusReportRequest ( TBool )

IMPORT_C voidSetStatusReportRequest(TBoolaRequest)

Sets Status Report Request flag.

Parameters
aRequestStatus Report Request flag
Capability
None

SetValidityPeriod ( const TTimeIntervalMinutes & )

IMPORT_C voidSetValidityPeriod(const TTimeIntervalMinutes &aTimeIntervalMinutes)

Sets the Validity Period for the SUBMIT.

Parameters
aTimeIntervalMinutesValidity Period
Capability
None

SetValidityPeriodFormat ( TSmsFirstOctet::TSmsValidityPeriodFormat )

IMPORT_C voidSetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormataValidityPeriodFormat)

Sets the Validity Period Format.

Parameters
aValidityPeriodFormatValidity Period Format
Capability
None

StatusReportRequest ( )

IMPORT_C TBoolStatusReportRequest()const

Gets Status Report Request flag.

A sender can request STATUS REPORTs for the SUBMIT being sent.

Return Value
True if the sender is requesting Status Reports
Capability
None

ToFromAddressPtr ( )

const CSmsAddress *ToFromAddressPtr()const [protected, virtual]

UserDataPtr ( )

const CSmsUserData *UserDataPtr()const [protected, virtual]

Reimplemented from CSmsPDU::UserDataPtr()const

ValidityPeriod ( )

IMPORT_C const TTimeIntervalMinutes &ValidityPeriod()const

Gets the Validity Period for the SUBMIT.

Return Value
Validity Period
Capability
None

ValidityPeriodFormat ( )

IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormatValidityPeriodFormat()const

Gets the Validity Period Format.

Return Value
Validity Period Format
Capability
None