R - the type of result of the command handlingpublic interface CommandCallback<R>
onSuccess(Object) or the onFailure(Throwable) is called.void onSuccess(R result)
result - The result of the command handling execution, if any.void onFailure(Throwable cause)
cause - The exception raised during command handlingCopyright © 2010-2014. All Rights Reserved.