CMTPParserRouter::TRoutingParameters Class Reference

class CMTPParserRouter::TRoutingParameters

Defines the MTP operation routing parameter data, which is an output of the parser/routers ParseOperationRequestL API and an input to the RouteOperationRequestL API.

Constructor & Destructor Documentation

TRoutingParameters(const TMTPTypeRequest &, MMTPConnection &)

IMPORT_CTRoutingParameters(const TMTPTypeRequest &aRequest,
MMTPConnection &aConnection
)

Constructor.

Parameters

const TMTPTypeRequest & aRequest
MMTPConnection & aConnection

TRoutingParameters(const TRoutingParameters &)

TRoutingParameters(const TRoutingParameters &aParams)

Copy constructor.

Parameters

const TRoutingParameters & aParams

Member Functions Documentation

Connection()

IMPORT_C MMTPConnection &Connection()const

Provides the handle of the MTP connection on associated with the operation.

Param(TParameterType)

IMPORT_C TUintParam(TParameterTypeaId)const

Provides the value of the specified parameter.

Parameters

TParameterType aIdThe parameter identifier.

Request()

IMPORT_C const TMTPTypeRequest &Request()const

Provides the operation dataset associated with the operation.

Reset()

IMPORT_C voidReset()

Resets all parameter values to zero.

SetParam(TParameterType, TUint)

IMPORT_C voidSetParam(TParameterTypeaId,
TUintaVal
)

Sets the value of the specified parameter.

Parameters

TParameterType aIdThe parameter identifier.
TUint aValThe new parameter value.

Member Enumerations Documentation

Enum TParameterType

The routing parameter type identifiers. Note that not all parameter types may be defined, only those deemed necessary to route the associated operation dataset.

Enumerators

EParamDevicePropCode

The DevicePropCode parameter.

EParamFormatCode

The object FormatCode parameter.

EParamFormatSubCode

The object format sub-code parameter. This parameter is undefined unless EFormatCode contains a value of EMTPFormatCodeAssociation, in which case this parameter should the specify the MTP association type code.

EParamObjectHandle

The ObjectHandle parameter.

EParamObjectPropCode

The ObjectPropCode parameter.

EParamStorageId

The StorageId parameter.

EParamStorageSystemType

The storage system type parameter.

EFlagInvalid

The invalid dataset flag. When set, this flag indicates that an operation dataset validation check failed.

EFlagRoutingTypes

The routing type codes. This flag is intended for internal use only.

EParamServiceId

The ServiceID parameter.

ENumTypes

Member Data Documentation

MMTPConnection & iConnection

MMTPConnection &iConnection[private]

The handle of the MTP connection on which the operation is being processed.

TUint iParameterData

TUint iParameterData[private]

TFixedArray< TUint, ENumTypes > iParameters

TFixedArray< TUint, ENumTypes >iParameters[private]

const TMTPTypeRequest & iRequest

const TMTPTypeRequest &iRequest[private]

The operation dataset.