public interface Callback<T>
handleResult(Object) or #handleError(Exception) 
 will be invoked.| Modifier and Type | Method and Description | 
|---|---|
void | 
handleError(Throwable error)
Receives an error. 
 | 
void | 
handleResult(T result)
Receives a callback result. 
 | 
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.