#include <gsmupdu.h>
Link against: gsmu.lib
| class CSmsCommand : public CSmsPDU |
| Public Member Functions | |
|---|---|
| CSmsCommand() | |
| ~CSmsCommand() | |
| IMPORT_C void | AddInformationElementL(CSmsInformationElement::TSmsInformationElementIdentifier, TDesC8 &) |
| IMPORT_C TPtrC8 | CommandData() |
| IMPORT_C TInt | CommandType() |
| IMPORT_C CSmsCommand * | DuplicateL() |
| IMPORT_C CSmsInformationElement & | InformationElement(TInt) |
| IMPORT_C TBool | InformationElementIndex(CSmsInformationElement::TSmsInformationElementIdentifier, TInt &) |
| CSmsInformationElement *& | InformationElementPtr(TInt) |
| IMPORT_C TInt | MaxCommandDataLength() |
| IMPORT_C TInt | MessageNumber() |
| IMPORT_C TInt | MessageReference() |
| IMPORT_C TInt | NumInformationElements() |
| IMPORT_C void | RemoveInformationElement(TInt) |
| IMPORT_C void | SetCommandDataL(const TDesC8 &) |
| IMPORT_C void | SetCommandType(TSmsCommandType::TSmsCommandTypeValue) |
| IMPORT_C void | SetMessageNumber(TInt) |
| IMPORT_C void | SetMessageReference(TInt) |
| IMPORT_C void | SetStatusReportRequest(TBool) |
| IMPORT_C TBool | StatusReportRequest() |
| Protected Member Functions | |
|---|---|
| virtual void | ConstructL(CCnvCharacterSetConverter &, RFs &) |
| virtual void | DecodeL(TGsmuLex8 &) |
| void | DoSetStatusReportRequest(TBool) |
| virtual TUint8 * | EncodeL(TUint8 *) |
| virtual TUint8 * | EncodeL(TUint8 *, const TEncodeParams *) |
| virtual void | ExternalizeMessagePDUL(RWriteStream &) |
| virtual void | InternalizeMessagePDUL(RReadStream &) |
| virtual const TSmsProtocolIdentifier * | ProtocolIdentifier() |
| virtual const CSmsAddress * | ToFromAddressPtr() |
| Inherited Attributes | |
|---|---|
| CSmsPDU::iServiceCenterAddress | |
| Inherited Enumerations | |
|---|---|
| CSmsPDU:TSmsPDUType | |
SMS-COMMAND PDU - MS to SC
| CSmsCommand | ( | ) |
| IMPORT_C void | AddInformationElementL | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aIdentifier, |
| TDesC8 & | aData | |||
| ) | ||||
Adds an Information Element.
| Parameters | |
|---|---|
| aIdentifier | Information Element Identifier to add |
| aData | The Information Element data |
| Capability | |
|---|---|
| None |
| IMPORT_C TPtrC8 | CommandData | ( | ) | const |
Gets the Command Data.
| Capability | |
|---|---|
| None |
| void | ConstructL | ( | CCnvCharacterSetConverter & | aCharacterSetConverter, |
| RFs & | aFs | |||
| ) | [protected, virtual] | |||
Reimplemented from CSmsPDU::ConstructL(CCnvCharacterSetConverter &,RFs &)
| void | DecodeL | ( | TGsmuLex8 & | aPdu | ) | [protected, virtual] |
Reimplemented from CSmsPDU::DecodeL(TGsmuLex8 &)
| void | DoSetStatusReportRequest | ( | TBool | aRequest | ) | [protected] |
| IMPORT_C CSmsCommand * | DuplicateL | ( | ) | const |
Reimplemented from CSmsPDU::DuplicateL()const
Duplicates this CSmsCommand object.
Reimplemented from CSmsPDU::EncodeL(TUint8 *)const
Reimplemented from CSmsPDU::EncodeL(TUint8 *,const TEncodeParams *)const
| void | ExternalizeMessagePDUL | ( | RWriteStream & | aStream | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ExternalizeMessagePDUL(RWriteStream &)const
| IMPORT_C CSmsInformationElement & | InformationElement | ( | TInt | aIndex | ) | const |
Gets an Information Element.
| Parameters | |
|---|---|
| aIndex | The Information Element Index within the PDU |
| Capability | |
|---|---|
| None |
| IMPORT_C TBool | InformationElementIndex | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aIdentifier, |
| TInt & | aIndex | |||
| ) | const | |||
Gets index of a specified Information Element.
| Parameters | |
|---|---|
| aIdentifier | Information Element Identifier to match |
| aIndex | On return, index of the Information Element matching aIdentifier |
| Capability | |
|---|---|
| None |
| CSmsInformationElement *& | InformationElementPtr | ( | TInt | aIndex | ) | const |
Gets a pointer to the Information Element located at aIndex.
| Parameters | |
|---|---|
| aIndex | The Information Element Index within the PDU |
| Capability | |
|---|---|
| None |
| void | InternalizeMessagePDUL | ( | RReadStream & | aStream | ) | [protected, virtual] |
Reimplemented from CSmsPDU::InternalizeMessagePDUL(RReadStream &)
| IMPORT_C TInt | MaxCommandDataLength | ( | ) | const |
Gets the Maximum Data Length of the Command.
| Capability | |
|---|---|
| None |
| IMPORT_C TInt | MessageNumber | ( | ) | const |
Gets the Message Number.
| Capability | |
|---|---|
| None |
| IMPORT_C TInt | MessageReference | ( | ) | const |
Gets the Message Reference.
| Capability | |
|---|---|
| None |
| const TSmsProtocolIdentifier * | ProtocolIdentifier | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ProtocolIdentifier()const
| IMPORT_C void | RemoveInformationElement | ( | TInt | aIndex | ) |
Removes an Information Element.
| Parameters | |
|---|---|
| aIndex | Index of the Information Element to be removed |
| Capability | |
|---|---|
| None |
| IMPORT_C void | SetCommandDataL | ( | const TDesC8 & | aData | ) |
Sets the Command Data.
| Parameters | |
|---|---|
| aData | The Command Data |
| Capability | |
|---|---|
| None |
| IMPORT_C void | SetCommandType | ( | TSmsCommandType::TSmsCommandTypeValue | aCommandType | ) |
Sets the Command Type.
| Parameters | |
|---|---|
| aCommandType | Command Type |
| Capability | |
|---|---|
| None |
| IMPORT_C void | SetMessageNumber | ( | TInt | aMessageNumber | ) |
Sets the Message Number.
| Parameters | |
|---|---|
| aMessageNumber | Message Number |
| Capability | |
|---|---|
| None |
| IMPORT_C void | SetMessageReference | ( | TInt | aMessageReference | ) |
Sets the Message Reference.
| Parameters | |
|---|---|
| aMessageReference | Message Reference |
| Capability | |
|---|---|
| None |
| IMPORT_C void | SetStatusReportRequest | ( | TBool | aRequest | ) |
Sets Status Report Request flag.
| Parameters | |
|---|---|
| aRequest | Set to True to Request Status Report |
| Capability | |
|---|---|
| None |
| IMPORT_C TBool | StatusReportRequest | ( | ) | const |
Gets Status Report Request flag.
| Capability | |
|---|---|
| None |
| const CSmsAddress * | ToFromAddressPtr | ( | ) | const [protected, virtual] |
Reimplemented from CSmsPDU::ToFromAddressPtr()const