Package org.minidns.util
Interface CallbackRecipient<V,E>
- Type Parameters:
V- the type of the success value.E- the type of the exception.
- All Known Implementing Classes:
MiniDnsFuture,MiniDnsFuture.InternalMiniDnsFuture
public interface CallbackRecipient<V,E>
A recipient of success and exception callbacks.
-
Method Summary
Modifier and TypeMethodDescriptiononError(ExceptionCallback<E> exceptionCallback) onSuccess(SuccessCallback<V> successCallback)
-
Method Details
-
onSuccess
-
onError
-