Package org.apache.xmlrpc.client
Interface AsyncCallback
-
- All Known Implementing Classes:
TimingOutCallback
public interface AsyncCallback
A callback interface for an asynchronous XML-RPC call.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleError(XmlRpcRequest pRequest, java.lang.Throwable pError)
Something went wrong, handle error.void
handleResult(XmlRpcRequest pRequest, java.lang.Object pResult)
Call went ok, handle result.
-
-
-
Method Detail
-
handleResult
void handleResult(XmlRpcRequest pRequest, java.lang.Object pResult)
Call went ok, handle result.- Parameters:
pRequest
- The request being performed.pResult
- The result object, which was returned by the server.
-
handleError
void handleError(XmlRpcRequest pRequest, java.lang.Throwable pError)
Something went wrong, handle error.- Parameters:
pRequest
- The request being performed.pError
- The error being thrown.
-
-