TMDpsOperation Class Reference

class TMDpsOperation

This is the base class for all dps operations.

Constructor & Destructor Documentation

TMDpsOperation()

TMDpsOperation()[inline]

Member Functions Documentation

CreateReqScriptL(const TDpsArgArray &, const TDpsEleArray &, TDpsAttribute, RWriteStream &, CDpsTransaction *)

IMPORT_C voidCreateReqScriptL(const TDpsArgArray &aArguments,
const TDpsEleArray &aElements,
TDpsAttributeaAttribute,
RWriteStream &aScript,
CDpsTransaction *aTrader
)[protected, virtual]

Creates the Dps request script

Parameters

const TDpsArgArray & aArguments
const TDpsEleArray & aElementsthe elements of the Dps request
TDpsAttribute aAttributethe attribute of the Dps request
RWriteStream & aScriptthe buffer of the script
CDpsTransaction * aTraderthe pointer to the CDpsTransaction object for creating the Dps script

FillRepArgs(const TDpsArgArray &, CDpsTransaction *)

TInt FillRepArgs(const TDpsArgArray &aArguments,
CDpsTransaction *aTrader
)[protected, inline, virtual]

Fills in the dps operation reply parameters. Dps engine uses this function after the dps operation gets responsed. After this call, dps engine will call RequestComplete() to inform the client the completion of the dps operation.

Parameters

const TDpsArgArray & aArguments
CDpsTransaction * aTrader

FillReqArgs(TDpsArgArray &, TDpsEleArray &, TDpsAttribute &, CDpsTransaction *)

TInt FillReqArgs(TDpsArgArray &aArgs,
TDpsEleArray &aElems,
TDpsAttribute &aAttrib,
CDpsTransaction *aTrader
)[protected, inline, virtual]

Fills in dps operation request parameters. Dps engine must call this function to fill the dps operation request parameters.

Parameters

TDpsArgArray & aArgsthe dps operation request arguments
TDpsEleArray & aElemsthe dps operation elements
TDpsAttribute & aAttribthe dps operation attributes
CDpsTransaction * aTraderthe pointer to CDpsTransaction object for filling the request arguments for Dps Engine

Member Data Documentation

TDpsSupportedOp iOperation

TDpsSupportedOp iOperation

TDpsResult iResult

TDpsResult iResult