public class Listener
extends java.lang.Object
FRListener| Modifier and Type | Method and Description |
|---|---|
static void |
onException(FRListener<?> listener,
java.lang.Exception value)
Notify the Listener with failed result
|
static <T> void |
onSuccess(FRListener<T> listener,
T value)
Notify the Listener with success result
|
public static <T> void onSuccess(FRListener<T> listener, T value)
T - The Value Typelistener - The listener to listen for eventsvalue - The Value send with the event.public static void onException(FRListener<?> listener, java.lang.Exception value)
listener - The listener to listen for eventsvalue - The Exception send with the event.