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 void CreateReqScriptL ( const TDpsArgArray & aArguments,
const TDpsEleArray & aElements,
TDpsAttribute aAttribute,
RWriteStream & aScript,
CDpsTransaction * aTrader
) [protected, virtual]

Creates the Dps request script

Parameters

const TDpsArgArray & aArguments
const TDpsEleArray & aElements the elements of the Dps request
TDpsAttribute aAttribute the attribute of the Dps request
RWriteStream & aScript the buffer of the script
CDpsTransaction * aTrader the 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 & aArgs the dps operation request arguments
TDpsEleArray & aElems the dps operation elements
TDpsAttribute & aAttrib the dps operation attributes
CDpsTransaction * aTrader the pointer to CDpsTransaction object for filling the request arguments for Dps Engine

Member Data Documentation

TDpsSupportedOp iOperation

TDpsSupportedOp iOperation

TDpsResult iResult

TDpsResult iResult