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()
XmlRpcWorker
getController
in interface XmlRpcWorker
XmlRpcClient
, or
XmlRpcServer
.public Object execute(XmlRpcRequest pRequest) throws XmlRpcException
execute
in interface XmlRpcWorker
pRequest
- 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–2023 The Apache Software Foundation. All rights reserved.