public static class EmittingCallbackFn.NOP<IN> extends EmittingCallbackFn<IN,IN>
EmittingCallbackFn.NOP<IN>
Callback.ProducesMore<IN,OUT,MORE>, Callback.ProducesMultiple<IN,OUT>
nextCallback
allowDuplicates, idMap, maxListeners
Constructor and Description |
---|
EmittingCallbackFn.NOP() |
Modifier and Type | Method and Description |
---|---|
IN |
callback(Exception ex,
IN in,
Object... more)
The callback method
|
failFast, failSlow, fn1, fn2, getNextCallback, handleEvent, handleException, setNextCallback
addListener, createListenerList, emit, emit, fireEvent, getListenerList, listenerCount, listeners, on, once, removeAllListeners, removeListener, setMaxListeners
public IN callback(Exception ex, IN in, Object... more) throws Exception
Callback
callback
in interface Callback<IN,IN>
callback
in class EmittingCallbackFn<IN,IN>
ex
- null, or an Exception thrown from an earlier callback. You should test for this!in
- input data, probably coming from a previous callbackmore
- additional input data (rarely used)Exception