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 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
void ConstructL ( CCnvCharacterSetConverter &, RFs &)
const TSmsDataCodingScheme * DataCodingScheme ()
void DecodeL ( TGsmuLex8 &)
TUint8 * EncodeL ( TUint8 *)
TUint8 * EncodeL ( TUint8 *, const TEncodeParams *)
void ExternalizeMessagePDUL ( RWriteStream &)
void InternalizeMessagePDUL ( 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 &)

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

Parameters

CCnvCharacterSetConverter & aCharacterSetConverter
RFs & aFs

DataCodingScheme()

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

DecodeL(TGsmuLex8 &)

void DecodeL ( 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 &)

void ExternalizeMessagePDUL ( RWriteStream & aStream ) const [protected, virtual]

Parameters

RWriteStream & aStream

InternalizeMessagePDUL(RReadStream &)

void InternalizeMessagePDUL ( RReadStream & aStream ) [protected, virtual]

Parameters

RReadStream & aStream

MessageReference()

IMPORT_C TInt MessageReference ( ) const

Gets the Message Reference.

capability
None

ProtocolIdentifier()

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

RejectDuplicates()

IMPORT_C TBool RejectDuplicates ( ) const

Gets Reject Duplicates flag.

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

capability
None

ReplyPath()

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.

capability
None

SetMessageReference(TInt)

IMPORT_C void SetMessageReference ( TInt aMessageReference )

Sets the Message Reference.

capability
None

Parameters

TInt aMessageReference Message Reference

SetRejectDuplicates(TBool)

IMPORT_C void SetRejectDuplicates ( TBool aRejectDuplicates )

Sets Reject Duplicates flag.

capability
None

Parameters

TBool aRejectDuplicates True to instruct the SC to reject duplicates

SetReplyPath(TBool)

IMPORT_C void SetReplyPath ( TBool aReplyPath )

Sets Reply Path flag.

capability
None

Parameters

TBool aReplyPath Set to True to set Reply Path

SetStatusReportRequest(TBool)

IMPORT_C void SetStatusReportRequest ( TBool aRequest )

Sets Status Report Request flag.

capability
None

Parameters

TBool aRequest Status Report Request flag

SetValidityPeriod(const TTimeIntervalMinutes &)

IMPORT_C void SetValidityPeriod ( const TTimeIntervalMinutes & aTimeIntervalMinutes )

Sets the Validity Period for the SUBMIT.

capability
None

Parameters

const TTimeIntervalMinutes & aTimeIntervalMinutes Validity Period

SetValidityPeriodFormat(TSmsFirstOctet::TSmsValidityPeriodFormat)

IMPORT_C void SetValidityPeriodFormat ( TSmsFirstOctet::TSmsValidityPeriodFormat aValidityPeriodFormat )

Sets the Validity Period Format.

capability
None

Parameters

TSmsFirstOctet::TSmsValidityPeriodFormat aValidityPeriodFormat Validity Period Format

StatusReportRequest()

IMPORT_C TBool StatusReportRequest ( ) 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::TSmsValidityPeriodFormat ValidityPeriodFormat ( ) 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]