TSmsSegmentationEntry Class Reference

class TSmsSegmentationEntry : public TSAREntry

Abstraction of an SMS segmentation store entry for outgoing SMS messages.

This class should reflect parts of a complete SMS message to be stored in the segmentation store.

Inherits from

Member Functions Documentation

Delivered()

TInt Delivered()const [inline]

Gets number of delivered PDUs.

ExpectStatusReport()

TBool ExpectStatusReport()const [inline]

Tests if a status report is expected.

Failed()

TInt Failed()const [inline]

Gets number of permanently failed PDUs.

PduType()

CSmsPDU::TSmsPDUType PduType()const [inline]

Gets the type of the PDU.

Reference1()

TInt Reference1()const [inline]

Gets the message reference (low byte).

Reference2()

TInt Reference2()const [inline]

Gets the message reference (high byte).

SetDeliveredAndFailed(TInt, TInt)

voidSetDeliveredAndFailed(TIntaDelivered,
TIntaFailed
)[inline]

Sets the number of delivered and failed PDUs.

Parameters

TInt aDeliveredNumber of delivered PDUs
TInt aFailedNumber of permanently failed PDUs

SetPduTypeAndRefs(TBool, TInt, TInt, TInt)

voidSetPduTypeAndRefs(TBoolaSR,
TIntaPduType,
TIntaRef1,
TIntaRef2
)[inline]

Sets status report flag, PDU type, and message references.

Parameters

TBool aSRTrue if a status report is expected
TInt aPduTypeType of the PDU
TInt aRef1Message reference (low byte)
TInt aRef2Message reference (high byte)

SetValidityPeriod(TInt)

voidSetValidityPeriod(TIntaValPer)[inline]

Sets the Validity Period.

Parameters

TInt aValPerValidity Period

ValidityPeriod()

TInt ValidityPeriod()const [inline]

Gets the Validity Period.