Interface IDfQueryListener

All Known Implementing Classes:
DfGenericQueryListener

public interface IDfQueryListener
Has to be implemented by an IDfQueryProcessor client to be asynchronously notified of new results and events during the query execution.
  • Method Details

    • onQueryCompleted

      void onQueryCompleted(IDfQueryProcessor processor)
      This method is called when the query execution finished (whether sucessfully or with errors).
      Parameters:
      processor - The IDfQueryProcessor instance executing the query.
    • onStatusChange

      void onStatusChange(IDfQueryProcessor processor, IDfQueryEvent event)
      This method is called when an event occurs (error or information).
      Parameters:
      processor - The IDfQueryProcessor instance executing the query.
      event - An event occurring while executing the query.
    • onResultChange

      void onResultChange(IDfQueryProcessor processor, int from, int to)
      This method is called when new results has been received from the sources.
      Parameters:
      processor - The IDfQueryProcessor instance executing the query.
      from - The start index of the new results in the list of IDfResultEntry hold by the query processor.
      to - The end index of the new results in the list of IDfResultEntry hold by the query processor.