sbIDatabaseSimpleQueryCallback Interface Reference

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

import "sbIDatabaseQuery.idl";

List of all members.

Public Member Functions

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


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().

For persistent queries, the callback will be called every time the system detects that the queried table has been changed and has executed the query again.

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

See also:
sbIDatabaseQueryCallback, sbIDatabaseQuery, sbIDatabaseResult

Definition at line 56 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:
dbResultObject The result object of the completed query
dbGUID The guid of the database bring queried
strQuery The query string that executed
See also:
sbIDatabaseQuery


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7