org.apache.xmlrpc.common
Interface XmlRpcWorker
- XmlRpcClientWorker, XmlRpcServerWorker
public interface XmlRpcWorker
An object, which executes requests on the controllers
behalf. These objects are mainly used for controlling the
clients or servers load, which is defined in terms of the
number of currently active workers.
execute
public Object execute(XmlRpcRequest pRequest)
throws XmlRpcException
Performs a synchronous request. The client worker extends
this interface with the ability to perform asynchronous
requests.
pRequest
- The request being performed.
getController
public XmlRpcController getController()
Returns the workers controller.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.