Package io.elastic.api
Interface EventEmitter.Callback
- All Known Subinterfaces:
CountingCallback
- All Known Implementing Classes:
CountingCallbackImpl
,DataCallback
,ErrorCallback
,HttpReplyCallback
,ReboundCallback
,SnapshotCallback
,UpdateKeysCallback
- Enclosing class:
- EventEmitter
public static interface EventEmitter.Callback
This interface defines a callback to pass errors, data and snapshots to its callee.
-
Method Summary
-
Method Details
-
receive
Invoked to pass errors, data and snapshots asynchronously.- Parameters:
data
- data to be passed
-