sbIDatabaseSimpleQueryCallback Interface Reference

A callback object used to inform client code that a query has completed. More...

import"sbIDatabaseQuery.idl";

Inheritance diagram for sbIDatabaseSimpleQueryCallback:
[legend]
Collaboration diagram for sbIDatabaseSimpleQueryCallback:
[legend]

Public Member Functions

void onQueryEnd (in sbIDatabaseResult dbResultObject, in AString dbGUID, in AString strQuery)
 Called when the query has completed. More...
 

Detailed Description

A callback object used to inform client code that a query has completed.

This interface is meant to be implemented as a callback by client code.

Clients that simply need to be informed when a query has completed may implement this interface and pass it to sbIDatabaseQuery::addSimpleQueryCallback().

NOTE: The onQueryEnd() method is called from a database thread.

See Also
sbIDatabaseQueryCallback, sbIDatabaseQuery, sbIDatabaseResult

Definition at line 54 of file sbIDatabaseQuery.idl.

Member Function Documentation

void sbIDatabaseSimpleQueryCallback::onQueryEnd ( in sbIDatabaseResult  dbResultObject,
in AString  dbGUID,
in AString  strQuery 
)

Called when the query has completed.

NOTE: The onQueryEnd() method is called from a database thread.

Parameters
dbResultObjectThe result object of the completed query
dbGUIDThe guid of the database bring queried
strQueryThe query string that executed
See Also
sbIDatabaseQuery

The documentation for this interface was generated from the following file: