|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlRpcCallback
Callback interface to implement when using asynchronous invocations with XmlRpcClient. The XmlRpcClient will call either onResult(), onFault(), or onException() based on the outcome of the invocation.
Method Summary | |
---|---|
void |
onException(XmlRpcException exception)
Called by the XmlRpcClient when an exception was raised during the call. |
void |
onFault(int faultCode,
java.lang.String faultMessage)
Called by the XmlRpcClient when a fault response was received from the server. |
void |
onResult(java.lang.Object result)
Called by the XmlRpcClient when a response was received from the server. |
Method Detail |
---|
void onResult(java.lang.Object result)
result
- The object containing the result value.void onFault(int faultCode, java.lang.String faultMessage)
faultCode
- The error code reported by the XML-RPC service.faultMessage
- The error message reported by the XML-RPC service.void onException(XmlRpcException exception)
exception
- The local exception which can be the result of network problems,
or problems with the XML payload and serialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |