marquee.xmlrpc
Interface XmlRpcCallback


public interface XmlRpcCallback

Version:
$Revision: 1.4 $
Author:
Greger Ohlson, greger.ohlson@marquee.se

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

onResult

void onResult(java.lang.Object result)
Called by the XmlRpcClient when a response was received from the server.

Parameters:
result - The object containing the result value.

onFault

void onFault(int faultCode,
             java.lang.String faultMessage)
Called by the XmlRpcClient when a fault response was received from the server.

Parameters:
faultCode - The error code.
faultMessage - The error message.

onException

void onException(XmlRpcException exception)
Called by the XmlRpcClient when an exception was raised during the call. This only includes exception occurring locally. Remote exceptions are transported as XML-RPC faults and are reported through the onFault() callback.

Parameters:
exception - The local exception.