CSmsCommand Class Reference

class CSmsCommand : public CSmsPDU

SMS-COMMAND PDU - MS to SC

Inherits from

Public Member Functions
CSmsCommand()
~CSmsCommand()
IMPORT_C voidAddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifier, TDesC8 &)
IMPORT_C TPtrC8CommandData()
IMPORT_C TIntCommandType()
IMPORT_C CSmsCommand *DuplicateL()
IMPORT_C CSmsInformationElement &InformationElement(TInt)
IMPORT_C TBoolInformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifier, TInt &)
CSmsInformationElement *&InformationElementPtr(TInt)
IMPORT_C TIntMaxCommandDataLength()
IMPORT_C TIntMessageNumber()
IMPORT_C TIntMessageReference()
IMPORT_C TIntNumInformationElements()
IMPORT_C voidRemoveInformationElement(TInt)
IMPORT_C voidSetCommandDataL(const TDesC8 &)
IMPORT_C voidSetCommandType(TSmsCommandType::TSmsCommandTypeValue)
IMPORT_C voidSetMessageNumber(TInt)
IMPORT_C voidSetMessageReference(TInt)
IMPORT_C voidSetStatusReportRequest(TBool)
IMPORT_C TBoolStatusReportRequest()
Protected Member Functions
voidConstructL(CCnvCharacterSetConverter &, RFs &)
voidDecodeL(TGsmuLex8 &)
voidDoSetStatusReportRequest(TBool)
TUint8 *EncodeL(TUint8 *)
TUint8 *EncodeL(TUint8 *, const TEncodeParams *)
voidExternalizeMessagePDUL(RWriteStream &)
voidInternalizeMessagePDUL(RReadStream &)
const TSmsProtocolIdentifier *ProtocolIdentifier()
const CSmsAddress *ToFromAddressPtr()
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::DataCodingScheme()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
CSmsPDU::UserDataPtr()const
Inherited Enumerations
CSmsPDU:TSmsPDUType
Private Attributes
CSmsCommandData *iCommandData
TSmsCommandType iCommandType
CSmsAddress *iDestinationAddress
TSmsFirstOctet iFirstOctet
TSmsOctet iMessageNumber
TSmsOctet iMessageReference
TSmsProtocolIdentifier iProtocolIdentifier
Inherited Attributes
CSmsPDU::iServiceCenterAddress

Constructor & Destructor Documentation

CSmsCommand()

CSmsCommand()

~CSmsCommand()

~CSmsCommand()

Destructor.

Member Functions Documentation

AddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifier, TDesC8 &)

IMPORT_C voidAddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifieraIdentifier,
TDesC8 &aData
)

Adds an Information Element.

capability
None

Parameters

CSmsInformationElement::TSmsInformationElementIdentifier aIdentifierInformation Element Identifier to add
TDesC8 & aDataThe Information Element data

CommandData()

IMPORT_C TPtrC8CommandData()const

Gets the Command Data.

capability
None

CommandType()

IMPORT_C TIntCommandType()const

Gets the Command Type.

capability
None

ConstructL(CCnvCharacterSetConverter &, RFs &)

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

Parameters

CCnvCharacterSetConverter & aCharacterSetConverter
RFs & aFs

DecodeL(TGsmuLex8 &)

voidDecodeL(TGsmuLex8 &aPdu)[protected, virtual]

Parameters

TGsmuLex8 & aPdu

DoSetStatusReportRequest(TBool)

voidDoSetStatusReportRequest(TBoolaRequest)[protected]

Parameters

TBool aRequest

DuplicateL()

IMPORT_C CSmsCommand *DuplicateL()const

Duplicates this CSmsCommand 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 &)

voidExternalizeMessagePDUL(RWriteStream &aStream)const [protected, virtual]

Parameters

RWriteStream & aStream

InformationElement(TInt)

IMPORT_C CSmsInformationElement &InformationElement(TIntaIndex)const

Gets an Information Element.

capability
None

Parameters

TInt aIndexThe Information Element Index within the PDU

InformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifier, TInt &)

IMPORT_C TBoolInformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifieraIdentifier,
TInt &aIndex
)const

Gets index of a specified Information Element.

capability
None

Parameters

CSmsInformationElement::TSmsInformationElementIdentifier aIdentifierInformation Element Identifier to match
TInt & aIndexOn return, index of the Information Element matching aIdentifier

InformationElementPtr(TInt)

CSmsInformationElement *&InformationElementPtr(TIntaIndex)const

Gets a pointer to the Information Element located at aIndex.

capability
None

Parameters

TInt aIndexThe Information Element Index within the PDU

InternalizeMessagePDUL(RReadStream &)

voidInternalizeMessagePDUL(RReadStream &aStream)[protected, virtual]

Parameters

RReadStream & aStream

MaxCommandDataLength()

IMPORT_C TIntMaxCommandDataLength()const

Gets the Maximum Data Length of the Command.

capability
None

MessageNumber()

IMPORT_C TIntMessageNumber()const

Gets the Message Number.

capability
None

MessageReference()

IMPORT_C TIntMessageReference()const

Gets the Message Reference.

capability
None

NumInformationElements()

IMPORT_C TIntNumInformationElements()const

Gets the number of Information Elements in the User Data.

capability
None

ProtocolIdentifier()

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

RemoveInformationElement(TInt)

IMPORT_C voidRemoveInformationElement(TIntaIndex)

Removes an Information Element.

capability
None

Parameters

TInt aIndexIndex of the Information Element to be removed

SetCommandDataL(const TDesC8 &)

IMPORT_C voidSetCommandDataL(const TDesC8 &aData)

Sets the Command Data.

capability
None

Parameters

const TDesC8 & aDataThe Command Data

SetCommandType(TSmsCommandType::TSmsCommandTypeValue)

IMPORT_C voidSetCommandType(TSmsCommandType::TSmsCommandTypeValueaCommandType)

Sets the Command Type.

capability
None

Parameters

TSmsCommandType::TSmsCommandTypeValue aCommandTypeCommand Type

SetMessageNumber(TInt)

IMPORT_C voidSetMessageNumber(TIntaMessageNumber)

Sets the Message Number.

capability
None

Parameters

TInt aMessageNumberMessage Number

SetMessageReference(TInt)

IMPORT_C voidSetMessageReference(TIntaMessageReference)

Sets the Message Reference.

capability
None

Parameters

TInt aMessageReferenceMessage Reference

SetStatusReportRequest(TBool)

IMPORT_C voidSetStatusReportRequest(TBoolaRequest)

Sets Status Report Request flag.

capability
None

Parameters

TBool aRequestSet to True to Request Status Report

StatusReportRequest()

IMPORT_C TBoolStatusReportRequest()const

Gets Status Report Request flag.

capability
None

ToFromAddressPtr()

const CSmsAddress *ToFromAddressPtr()const [protected, virtual]

Member Data Documentation

CSmsCommandData * iCommandData

CSmsCommandData *iCommandData[private]

TSmsCommandType iCommandType

TSmsCommandType iCommandType[private]

CSmsAddress * iDestinationAddress

CSmsAddress *iDestinationAddress[private]

TSmsFirstOctet iFirstOctet

TSmsFirstOctet iFirstOctet[private]

TSmsOctet iMessageNumber

TSmsOctet iMessageNumber[private]

TSmsOctet iMessageReference

TSmsOctet iMessageReference[private]

TSmsProtocolIdentifier iProtocolIdentifier

TSmsProtocolIdentifier iProtocolIdentifier[private]