org.apache.xmlrpc.client

Interface AsyncCallback

Known Implementing Classes:
TimingOutCallback

public interface AsyncCallback

A callback interface for an asynchronous XML-RPC call.
Since:
3.0

Method Summary

void
handleError(XmlRpcRequest pRequest, Throwable pError)
Something went wrong, handle error.
void
handleResult(XmlRpcRequest pRequest, Object pResult)
Call went ok, handle result.

Method Details

handleError

public void handleError(XmlRpcRequest pRequest,
                        Throwable pError)
Something went wrong, handle error.
Parameters:
pRequest - The request being performed.
pError - The error being thrown.

handleResult

public void handleResult(XmlRpcRequest pRequest,
                         Object pResult)
Call went ok, handle result.
Parameters:
pRequest - The request being performed.
pResult - The result object, which was returned by the server.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.