public class XmlRpcClientWorker
extends java.lang.Object
Constructor and Description |
---|
XmlRpcClientWorker(XmlRpcClientWorkerFactory pFactory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(XmlRpcRequest pRequest)
Performs a synchronous request.
|
void |
execute(XmlRpcRequest pRequest,
AsyncCallback pCallback)
Performs an synchronous request.
|
XmlRpcController |
getController() |
protected java.lang.Thread |
newThread(java.lang.Runnable pRunnable) |
public XmlRpcClientWorker(XmlRpcClientWorkerFactory pFactory)
pFactory
- The factory, which is being notified, if
the worker's ready.public XmlRpcController getController()
public java.lang.Object execute(XmlRpcRequest pRequest) throws XmlRpcException
pRequest
- The request being performed.XmlRpcException
- Performing the request failed.protected java.lang.Thread newThread(java.lang.Runnable pRunnable)
public void execute(XmlRpcRequest pRequest, AsyncCallback pCallback)
pRequest
- The request being performed.pCallback
- The callback being invoked, when the request is finished.