public class XmlRpcClientWorker extends Object implements XmlRpcWorker
| Constructor and Description |
|---|
XmlRpcClientWorker(XmlRpcClientWorkerFactory pFactory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(XmlRpcRequest pRequest)
Performs a synchronous request.
|
void |
execute(XmlRpcRequest pRequest,
AsyncCallback pCallback)
Performs an synchronous request.
|
XmlRpcController |
getController()
Returns the workers controller.
|
protected Thread |
newThread(Runnable pRunnable) |
public XmlRpcClientWorker(XmlRpcClientWorkerFactory pFactory)
pFactory - The factory, which is being notified, if
the worker's ready.public XmlRpcController getController()
XmlRpcWorkergetController in interface XmlRpcWorkerXmlRpcClient, or
XmlRpcServer.public Object execute(XmlRpcRequest pRequest) throws XmlRpcException
execute in interface XmlRpcWorkerpRequest - The request being performed.XmlRpcException - Performing the request failed.public void execute(XmlRpcRequest pRequest, AsyncCallback pCallback)
pRequest - The request being performed.pCallback - The callback being invoked, when the request is finished.Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.