Package ghidra.features.bsim.query.facade

# Interface SFResultsUpdateListener<R>

Type Parameters:
  `R` - the final result implementation class.

public interface SFResultsUpdateListener<R>
A listener that will be called as incremental results arrive from database queries. The results given to this listener are always a subset of the complete results.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `resultAdded(QueryResponseRecord partialResponse)`
  Called as incremental results arrive from database queries.
  `void`
  `setFinalResult(R result)`
  Callback to supply the final accumulated result.

- ## Method Details

  - ### resultAdded

    void resultAdded(QueryResponseRecord partialResponse)
    Called as incremental results arrive from database queries. The results given to this listener are always a subset of the complete results--they are not comprehensive. Consumer should be able to safely cast response based upon the type of query being performed.
    Parameters:
      `partialResponse` - a partial result record with the recently received results.

  - ### setFinalResult

    void setFinalResult(R result)
    Callback to supply the final accumulated result.
    Parameters:
      `result` - accumulated query result or null if a failure occured which prevented results from being returned.