public interface XMLRPCCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(long id,
XMLRPCException error)
This callback is called whenever an error occurs during the method call.
|
void |
onResponse(long id,
Object result)
This callback is called whenever the server successfully responds.
|
void |
onServerError(long id,
XMLRPCServerException error)
This callback is called whenever the server returns an error.
|
void onResponse(long id, Object result)
id
- The id as returned by the XMLRPCClient.asyncCall(..) method for this request.result
- The Object returned from the server.void onError(long id, XMLRPCException error)
id
- The id as returned by the XMLRPCClient.asyncCall(..) method for this request.error
- The error occured.void onServerError(long id, XMLRPCServerException error)
id
- The id as returned by the XMLRPCClient.asyncCall(..) method for this request.error
- The error returned from the server.Copyright © 2015. All rights reserved.