TSmsSegmentationEntry Class Reference

#include <gsmustor.h>

Link against: wapprot.lib

class TSmsSegmentationEntry : public TSAREntry

Inherits from

Detailed Description

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.

Member Function Documentation

Delivered ( )

TInt Delivered()const [inline]

Gets number of delivered PDUs.

Returns: Number of delivered PDUs

ExpectStatusReport ( )

TBool ExpectStatusReport()const [inline]

Tests if a status report is expected.

Returns: True if a status report is expected

Failed ( )

TInt Failed()const [inline]

Gets number of permanently failed PDUs.

Returns: Number of permanently failed PDUs

PduType ( )

CSmsPDU::TSmsPDUType PduType()const [inline]

Gets the type of the PDU.

Returns: Type of the PDU

Reference1 ( )

TInt Reference1()const [inline]

Gets the message reference (low byte).

Returns: Message reference (low byte)

Reference2 ( )

TInt Reference2()const [inline]

Gets the message reference (high byte).

Returns: Message reference (high byte)

SetDeliveredAndFailed ( TInt, TInt )

voidSetDeliveredAndFailed(TIntaDelivered,
TIntaFailed
)[inline]

Sets the number of delivered and failed PDUs.

ParameterDescription
aDeliveredNumber of delivered PDUs
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.

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

SetValidityPeriod ( TInt )

voidSetValidityPeriod(TIntaValPer)[inline]

Sets the Validity Period.

ParameterDescription
aValPerValidity Period

ValidityPeriod ( )

TInt ValidityPeriod()const [inline]

Gets the Validity Period.

Returns: Validity Period