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)

void SetDeliveredAndFailed ( TInt aDelivered,
TInt aFailed
) [inline]

Sets the number of delivered and failed PDUs.

Parameters

TInt aDelivered Number of delivered PDUs
TInt aFailed Number of permanently failed PDUs

SetPduTypeAndRefs(TBool, TInt, TInt, TInt)

void SetPduTypeAndRefs ( TBool aSR,
TInt aPduType,
TInt aRef1,
TInt aRef2
) [inline]

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

Parameters

TBool aSR True if a status report is expected
TInt aPduType Type of the PDU
TInt aRef1 Message reference (low byte)
TInt aRef2 Message reference (high byte)

SetValidityPeriod(TInt)

void SetValidityPeriod ( TInt aValPer ) [inline]

Sets the Validity Period.

Parameters

TInt aValPer Validity Period

ValidityPeriod()

TInt ValidityPeriod ( ) const [inline]

Gets the Validity Period.