CSmsSubmit Class Reference

class CSmsSubmit : public CSmsPDU

SMS-SUBMIT PDU - MS to SC

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
voidConstructL(CCnvCharacterSetConverter &, RFs &)
const TSmsDataCodingScheme *DataCodingScheme()
voidDecodeL(TGsmuLex8 &)
TUint8 *EncodeL(TUint8 *)
TUint8 *EncodeL(TUint8 *, const TEncodeParams *)
voidExternalizeMessagePDUL(RWriteStream &)
voidInternalizeMessagePDUL(RReadStream &)
const TSmsProtocolIdentifier *ProtocolIdentifier()
const CSmsAddress *ToFromAddressPtr()
const CSmsUserData *UserDataPtr()
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
Inherited Enumerations
CSmsPDU:TSmsPDUType
Private Attributes
TSmsDataCodingScheme iDataCodingScheme
CSmsAddress *iDestinationAddress
TSmsFirstOctet iFirstOctet
TSmsOctet iMessageReference
TSmsProtocolIdentifier iProtocolIdentifier
CSmsUserData *iUserData
TSmsValidityPeriod iValidityPeriod
Inherited Attributes
CSmsPDU::iServiceCenterAddress

Constructor & Destructor Documentation

CSmsSubmit()

CSmsSubmit()

~CSmsSubmit()

~CSmsSubmit()

Destructor.

Member Functions Documentation

ConstructL(CCnvCharacterSetConverter &, RFs &)

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

Parameters

CCnvCharacterSetConverter & aCharacterSetConverter
RFs & aFs

DataCodingScheme()

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

DecodeL(TGsmuLex8 &)

voidDecodeL(TGsmuLex8 &aPdu)[protected, virtual]

Parameters

TGsmuLex8 & aPdu

DuplicateL()

IMPORT_C CSmsSubmit *DuplicateL()const

Duplicates this CSmsSubmit object.

EncodeL(TUint8 *)

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

Parameters

TUint8 * aPtr

EncodeL(TUint8 *, const TEncodeParams *)

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

Parameters

TUint8 * aPtr
const TEncodeParams * aEncodeParams

ExternalizeMessagePDUL(RWriteStream &)

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

Parameters

RWriteStream & aStream

InternalizeMessagePDUL(RReadStream &)

voidInternalizeMessagePDUL(RReadStream &aStream)[protected, virtual]

Parameters

RReadStream & aStream

MessageReference()

IMPORT_C TIntMessageReference()const

Gets the 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.

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.

capability
None

SetMessageReference(TInt)

IMPORT_C voidSetMessageReference(TIntaMessageReference)

Sets the Message Reference.

capability
None

Parameters

TInt aMessageReferenceMessage Reference

SetRejectDuplicates(TBool)

IMPORT_C voidSetRejectDuplicates(TBoolaRejectDuplicates)

Sets Reject Duplicates flag.

capability
None

Parameters

TBool aRejectDuplicatesTrue to instruct the SC to reject duplicates

SetReplyPath(TBool)

IMPORT_C voidSetReplyPath(TBoolaReplyPath)

Sets Reply Path flag.

capability
None

Parameters

TBool aReplyPathSet to True to set Reply Path

SetStatusReportRequest(TBool)

IMPORT_C voidSetStatusReportRequest(TBoolaRequest)

Sets Status Report Request flag.

capability
None

Parameters

TBool aRequestStatus Report Request flag

SetValidityPeriod(const TTimeIntervalMinutes &)

IMPORT_C voidSetValidityPeriod(const TTimeIntervalMinutes &aTimeIntervalMinutes)

Sets the Validity Period for the SUBMIT.

capability
None

Parameters

const TTimeIntervalMinutes & aTimeIntervalMinutesValidity Period

SetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormat)

IMPORT_C voidSetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormataValidityPeriodFormat)

Sets the Validity Period Format.

capability
None

Parameters

TSmsFirstOctet::TSmsValidityPeriodFormat aValidityPeriodFormatValidity Period Format

StatusReportRequest()

IMPORT_C TBoolStatusReportRequest()const

Gets Status Report Request flag.

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

capability
None

ToFromAddressPtr()

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

UserDataPtr()

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

ValidityPeriod()

IMPORT_C const TTimeIntervalMinutes &ValidityPeriod()const

Gets the Validity Period for the SUBMIT.

capability
None

ValidityPeriodFormat()

IMPORT_C TSmsFirstOctet::TSmsValidityPeriodFormatValidityPeriodFormat()const

Gets the Validity Period Format.

capability
None

Member Data Documentation

TSmsDataCodingScheme iDataCodingScheme

TSmsDataCodingScheme iDataCodingScheme[private]

CSmsAddress * iDestinationAddress

CSmsAddress *iDestinationAddress[private]

TSmsFirstOctet iFirstOctet

TSmsFirstOctet iFirstOctet[private]

TSmsOctet iMessageReference

TSmsOctet iMessageReference[private]

TSmsProtocolIdentifier iProtocolIdentifier

TSmsProtocolIdentifier iProtocolIdentifier[private]

CSmsUserData * iUserData

CSmsUserData *iUserData[private]

TSmsValidityPeriod iValidityPeriod

TSmsValidityPeriod iValidityPeriod[private]