Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: gsmupdu.h
Link against: gsmu.lib

Class CSmsCommand

class CSmsCommand : public CSmsPDU;

Description

SMS-COMMAND PDU - MS to SC

Derivation

Members

Defined in CSmsCommand:
AddInformationElementL(), CommandData(), CommandType(), ConstructL(), DecodeL(), EncodeL(), ExternalizeMessagePDUL(), InformationElement(), InformationElementIndex(), InternalizeMessagePDUL(), MaxCommandDataLength(), MessageNumber(), MessageReference(), NumInformationElements(), ProtocolIdentifier(), RemoveInformationElement(), SetCommandDataL(), SetCommandType(), SetMessageNumber(), SetMessageReference(), SetStatusReportRequest(), StatusReportRequest(), ToFromAddressPtr()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CSmsPDU:
Alphabet(), ApplicationPortAddressing(), Bits7To4(), Class(), ConcatenatedMessagePDUIndex(), ConcatenatedMessageReference(), DataCodingScheme(), DataCodingSchemePresent(), ESmsCommand, ESmsDeliver, ESmsDeliverReport, ESmsStatusReport, ESmsSubmit, ESmsSubmitReport, EncodeMessagePDUL(), ExternalizeL(), IndicationState(), IndicationType(), NewL(), NumConcatenatedMessagePDUs(), PIDType(), ParameterIndicator(), ParsedServiceCenterAddress(), ParsedToFromAddress(), ProtocolIdentifierPresent(), ServiceCenterAddress(), SetAlphabet(), SetApplicationPortAddressingL(), SetBits7To4(), SetClass(), SetConcatenatedMessagePDUIndex(), SetConcatenatedMessageReference(), SetDataCodingSchemePresent(), SetIndicationState(), SetIndicationType(), SetNumConcatenatedMessagePDUs(), SetPIDType(), SetParsedServiceCenterAddressL(), SetParsedToFromAddressL(), SetProtocolIdentifierPresent(), SetServiceCenterAddressL(), SetShortMessageType(), SetTelematicDeviceIndicator(), SetTelematicDeviceType(), SetTextCompressed(), SetTextConcatenatedL(), SetToFromAddressL(), SetUserDataPresent(), ShortMessageType(), TSmsPDUType, TelematicDeviceIndicator(), TelematicDeviceType(), TextCompressed(), TextConcatenated(), ToFromAddress(), Type(), UserData(), UserDataPresent(), UserDataPtr(), iServiceCenterAddress


Construction and destruction


ConstructL()

protected: virtual void ConstructL(CCnvCharacterSetConverter &aCharacterSetConverter, RFs &aFs);

Description

Parameters

CCnvCharacterSetConverter &aCharacterSetConverter

RFs &aFs

[Top]


Member functions


StatusReportRequest()

Capability: Illegal

IMPORT_C TBool StatusReportRequest() const;

Description

Gets Status Report Request flag.

Return value

TBool

True if the sender is requesting Status Reports


SetStatusReportRequest()

Capability: Illegal

IMPORT_C void SetStatusReportRequest(TBool aRequest);

Description

Sets Status Report Request flag.

Parameters

TBool aRequest

Set to True to Request Status Report


MessageReference()

Capability: Illegal

IMPORT_C TInt MessageReference() const;

Description

Gets the Message Reference.

Return value

TInt

Message Reference


SetMessageReference()

Capability: Illegal

IMPORT_C void SetMessageReference(TInt aMessageReference);

Description

Sets the Message Reference.

Parameters

TInt aMessageReference

Message Reference


CommandType()

Capability: Illegal

IMPORT_C TInt CommandType() const;

Description

Gets the Command Type.

Return value

TInt

Command Type


SetCommandType()

Capability: Illegal

IMPORT_C void SetCommandType(TSmsCommandType::TSmsCommandTypeValue aCommandType);

Description

Sets the Command Type.

Parameters

TSmsCommandType::TSmsCommandTypeValue aCommandType

Command Type


MessageNumber()

Capability: Illegal

IMPORT_C TInt MessageNumber() const;

Description

Gets the Message Number.

Return value

TInt

Message Number


SetMessageNumber()

Capability: Illegal

IMPORT_C void SetMessageNumber(TInt aMessageNumber);

Description

Sets the Message Number.

Parameters

TInt aMessageNumber

Message Number


NumInformationElements()

Capability: Illegal

IMPORT_C TInt NumInformationElements() const;

Description

Gets the number of Information Elements in the User Data.

Return value

TInt

Number of Information Elements in the User Data


InformationElement()

Capability: Illegal

IMPORT_C CSmsInformationElement &InformationElement(TInt aIndex) const;

Description

Gets an Information Element.

Parameters

TInt aIndex

The Information Element Index within the PDU

Return value

CSmsInformationElement &

Information Element


InformationElementIndex()

Capability: Illegal

IMPORT_C TBool InformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier, TInt &aIndex) const;

Description

Gets index of a specified Information Element.

Parameters

CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier

Information Element Identifier to match

TInt &aIndex

On return, index of the Information Element matching aIdentifier

Return value

TBool

True if Information Element present matching aIdentifier


AddInformationElementL()

Capability: Illegal

IMPORT_C void AddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier, TDesC8 &aData);

Description

Adds an Information Element.

Parameters

CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier

Information Element Identifier to add

TDesC8 &aData

The Information Element data


RemoveInformationElement()

Capability: Illegal

IMPORT_C void RemoveInformationElement(TInt aIndex);

Description

Removes an Information Element.

Parameters

TInt aIndex

Index of the Information Element to be removed


MaxCommandDataLength()

Capability: Illegal

IMPORT_C TInt MaxCommandDataLength() const;

Description

Gets the Maximum Data Length of the Command.

Return value

TInt

Maximum Data Length of the Command


CommandData()

Capability: Illegal

IMPORT_C TPtrC8 CommandData() const;

Description

Gets the Command Data.

Return value

TPtrC8

The Command Data


SetCommandDataL()

Capability: Illegal

IMPORT_C void SetCommandDataL(const TDesC8 &aData);

Description

Sets the Command Data.

Parameters

const TDesC8 &aData

The Command Data


ProtocolIdentifier()

protected: virtual const TSmsProtocolIdentifier *ProtocolIdentifier() const;

Description

Return value

const TSmsProtocolIdentifier *


ToFromAddressPtr()

protected: virtual const CSmsAddress *ToFromAddressPtr() const;

Description

Return value

const CSmsAddress *


EncodeL()

protected: virtual TUint8 *EncodeL(TUint8 *aPtr) const;

Description

Parameters

TUint8 *aPtr

Return value

TUint8 *


DecodeL()

protected: virtual void DecodeL(TGsmuLex8 &aPdu);

Description

Parameters

TGsmuLex8 &aPdu


InternalizeMessagePDUL()

protected: virtual void InternalizeMessagePDUL(RReadStream &aStream);

Description

Parameters

RReadStream &aStream


ExternalizeMessagePDUL()

protected: virtual void ExternalizeMessagePDUL(RWriteStream &aStream) const;

Description

Parameters

RWriteStream &aStream