org.apache.xmlrpc.client
Class XmlRpcClientWorker
java.lang.Object
org.apache.xmlrpc.client.XmlRpcClientWorker
- XmlRpcWorker
public class XmlRpcClientWorker
extends java.lang.Object
Object, which performs a request on the clients behalf.
The client maintains a pool of workers. The main purpose of the
pool is limitation of the maximum number of concurrent requests.
XmlRpcClientWorker
public XmlRpcClientWorker(XmlRpcClientWorkerFactory pFactory)
Creates a new instance.
pFactory
- The factory, which is being notified, if
the worker's ready.
execute
public void execute(XmlRpcRequest pRequest,
AsyncCallback pCallback)
Performs an synchronous request.
pRequest
- The request being performed.pCallback
- The callback being invoked, when the request is finished.
newThread
protected Thread newThread(Runnable pRunnable)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.