»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Narrow Band Protocols SMSSTACK »
CSmsCommand
Location:
gsmupdu.h
Link against: gsmu.lib
class CSmsCommand : public CSmsPDU;
Description
SMS-COMMAND PDU - MS to SC
Derivation
CBase
- Base class for all classes to be instantiated on the heap
CSmsPDU
- A generic interface to a GSM SMS PDU
CSmsCommand
- SMS-COMMAND PDU - MS to SC
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
protected: virtual void ConstructL(CCnvCharacterSetConverter &aCharacterSetConverter, RFs &aFs);
Description
Parameters
IMPORT_C TBool StatusReportRequest() const;
Description
Gets Status Report Request flag.
Return value
TBool
|
True if the sender is requesting Status Reports
|
|
IMPORT_C void SetStatusReportRequest(TBool aRequest);
Description
Sets Status Report Request flag.
Parameters
TBool aRequest |
Set to True to Request Status Report
|
|
IMPORT_C TInt MessageReference() const;
Description
Gets the Message Reference.
Return value
IMPORT_C void SetMessageReference(TInt aMessageReference);
Description
Sets the Message Reference.
Parameters
TInt aMessageReference |
Message Reference
|
|
IMPORT_C TInt CommandType() const;
Description
Gets the Command Type.
Return value
IMPORT_C void SetCommandType(TSmsCommandType::TSmsCommandTypeValue aCommandType);
Description
Sets the Command Type.
Parameters
IMPORT_C TInt MessageNumber() const;
Description
Gets the Message Number.
Return value
IMPORT_C void SetMessageNumber(TInt aMessageNumber);
Description
Sets the Message Number.
Parameters
TInt aMessageNumber |
Message Number
|
|
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
|
|
IMPORT_C CSmsInformationElement &InformationElement(TInt aIndex) const;
Description
Gets an Information Element.
Parameters
TInt aIndex |
The Information Element Index within the PDU
|
|
Return value
InformationElementIndex()
IMPORT_C TBool InformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier, TInt &aIndex)
const;
Description
Gets index of a specified Information Element.
Parameters
Return value
TBool
|
True if Information Element present matching aIdentifier
|
|
IMPORT_C void AddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifier aIdentifier, TDesC8 &aData);
Description
Adds an Information Element.
Parameters
RemoveInformationElement()
IMPORT_C void RemoveInformationElement(TInt aIndex);
Description
Removes an Information Element.
Parameters
TInt aIndex |
Index of the Information Element to be removed
|
|
IMPORT_C TInt MaxCommandDataLength() const;
Description
Gets the Maximum Data Length of the Command.
Return value
TInt
|
Maximum Data Length of the Command
|
|
IMPORT_C TPtrC8 CommandData() const;
Description
Gets the Command Data.
Return value
IMPORT_C void SetCommandDataL(const TDesC8 &aData);
Description
Sets the Command Data.
Parameters
const TDesC8 &aData |
The Command Data
|
|
protected: virtual const TSmsProtocolIdentifier *ProtocolIdentifier() const;
Description
Return value
protected: virtual const CSmsAddress *ToFromAddressPtr() const;
Description
Return value
protected: virtual TUint8 *EncodeL(TUint8 *aPtr) const;
Description
Parameters
Return value
protected: virtual void DecodeL(TGsmuLex8 &aPdu);
Description
Parameters
protected: virtual void InternalizeMessagePDUL(RReadStream &aStream);
Description
Parameters
protected: virtual void ExternalizeMessagePDUL(RWriteStream &aStream) const;
Description
Parameters