MProtocolSearch Class Reference

class MProtocolSearch : public MXIMPBase

Interface for Search object. Interface must be implemented by a XIMP Framework protocol plug-ins.

This interface defines actions that XIMP Framework requests from a Search protocol connection to execute search related tasks.

Inherits from

Constructor & Destructor Documentation

~MProtocolSearch()

~MProtocolSearch()[protected, inline, virtual]

Protected destructor. MProtocolSearch instancies can't be destroyed via this interface.

Member Functions Documentation

DoGetSearchKeysL(TXIMPRequestId)

voidDoGetSearchKeysL(TXIMPRequestIdaReqId)[pure virtual]

Requests the protocol to Stop search.

Parameters

TXIMPRequestId aReqIdrequest ID identifying the issued request

DoSearchL(const MXIMPIdentity &, const RPointerArray< MSearchElement > &, TInt, TXIMPRequestId)

voidDoSearchL(const MXIMPIdentity &aSearchId,
const RPointerArray< MSearchElement > &aObjs,
TIntaSearchLimit,
TXIMPRequestIdaReqId
)[pure virtual]

Requests the protocol to start search.

Parameters

const MXIMPIdentity & aSearchIdIdentification for a search.
const RPointerArray< MSearchElement > & aObjsDefines what is to be searched.
TInt aSearchLimitHow many results client wants at a time.
TXIMPRequestId aReqIdrequest ID identifying the issued request.