*/
private void fireProgressReceived(String identifier, HighLevelProgress highLevelProgress) {
for (HighLevelProgressListener highLevelProgressListener: highLevelProgressListeners) {
- highLevelProgressListener.progressReceived(identifier, highLevelProgress);
+ highLevelProgressListener.progressReceived(this, identifier, highLevelProgress);
}
}
* Notifies a listener that the request with the given identifier has made
* some progress.
*
+ * @param highLevelClient
+ * The high-level client that emitted this event
* @param identifier
* The identifier of the request
* @param highLevelProgress
* The progress of the request
*/
- public void progressReceived(String identifier, HighLevelProgress highLevelProgress);
+ public void progressReceived(HighLevelClient highLevelClient, String identifier, HighLevelProgress highLevelProgress);
}