#include <gsmuieoperations.h>
class CSmsSMSCCtrlParameterOperations : public CSmsCtrlOperation, public CSmsCtrlOperation |
Public Member Functions | |
---|---|
CSmsSMSCCtrlParameterOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &) | |
~CSmsSMSCCtrlParameterOperations() | |
IMPORT_C TSmsStatusReportScheme | GetScheme() |
IMPORT_C TInt | GetStatusReport(TUint, TUint8 &) |
IMPORT_C void | ResetSchemeL() |
IMPORT_C void | SetDefaultL(TUint8) |
IMPORT_C void | SetSchemeL() |
IMPORT_C TInt | SetStatusReportL(TUint, TUint8) |
Protected Member Functions | |
---|---|
TBool | ValidateControlParametersL(TUint8 &) |
virtual void | ValidateOperationL() |
void | operator=(const CSmsSMSCCtrlParameterOperations &) |
TBool | operator==(const CSmsSMSCCtrlParameterOperations &) |
Inherited Attributes | |
---|---|
CSmsIEOperation::iMessage |
CSmsSMSCCtrlParameterOperations | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aId, |
CSmsMessage & | aMessage | ||
) |
~CSmsSMSCCtrlParameterOperations | ( | ) | [inline] |
IMPORT_C TSmsStatusReportScheme | GetScheme | ( | ) | const |
Gets the current scheme being used.
Capability | |
---|---|
None |
Gets the selective status for a PDU if the scheme is set to the Control Parameters Scheme.
Parameters | |
---|---|
aSegmentSequenceNum | The segment sequence number of the PDU whose status report is required. |
aSelectiveStatus | Returns the selective status octet for that PDU. |
Capability | |
---|---|
None |
IMPORT_C void | ResetSchemeL | ( | ) |
This method re-sets the scheme to the Default Scheme.
Capability | |
---|---|
None |
IMPORT_C void | SetDefaultL | ( | TUint8 | aDefaultSelectiveStatus | ) |
Sets the default value of the status report to aDefaultSelectiveStatus.
Parameters | |
---|---|
aDefaultSelectiveStatus | The selective status to be used as default. |
Leave Codes | |
---|---|
KErrNotFound | If the scheme is invalid. |
Capability | |
---|---|
None |
IMPORT_C void | SetSchemeL | ( | ) |
This method is called to set the scheme to Control Parameters Scheme. First iStatusReportScheme, which is obtained by calling GetStatusReportScheme, is deleted and set to NULL. Then a new scheme is created and a default value is set. This should be the last method to be called in a message sending process as all the operations in this interface depend on the number of PDUs being set.
Leave Codes | |
---|---|
Capability | |
---|---|
None |
Sets the status report for a PDU. First the scheme is obtained by calling the GetStatusReportScheme and checked if it is the valid scheme. Then aSelectiveStatus is checked to see if it is the default value. If it is then nothing is done. But if aSelectiveStatus is non-default then it is appended to the array iControlParametersStatusReport along with the aSegmentSequenceNum
Parameters | |
---|---|
aSegmentSequenceNum | The segment sequence number of the PDU which needs to be updated. |
aSelectiveStatus | The octet which needs to be set as the Selective Status for the report. |
Leave Codes | |
---|---|
Capability | |
---|---|
None |
Checks that the octet passed to it has the valid bits set in it. If the bits which are not supported yet are set then reset it. This method is called by SetStatusReportL.
Parameters | |
---|---|
aSelectiveStatus | The octet which needs to be set as the Selective Status for the report. |
Leave Codes | |
---|---|
KErrNotSupported | If the last 4 bits are set as they are not supported. |
void | ValidateOperationL | ( | ) | const [protected, virtual] |
Reimplemented from CSmsIEOperation::ValidateOperationL()const
Identifies whether the message type or version supports this operation
Leave Codes | |
---|---|
void | operator= | ( | const CSmsSMSCCtrlParameterOperations & | ) | [protected] |
Prevent clients from using the assignment operator by including it in the class definition but making it protected and not exporting it.
Capability | |
---|---|
None |
TBool | operator== | ( | const CSmsSMSCCtrlParameterOperations & | ) | [protected] |
Prevent clients from using the equality operator by including it in the class definition but making it protected and not exporting it.
Capability | |
---|---|
None |