Package org.apache.xmlrpc.server
Class XmlRpcServerWorker
java.lang.Object
org.apache.xmlrpc.server.XmlRpcServerWorker
- All Implemented Interfaces:
XmlRpcWorker
Server specific implementation of
XmlRpcWorker.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXmlRpcServerWorker(XmlRpcServerWorkerFactory pFactory) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionexecute(XmlRpcRequest pRequest) Performs a synchronous request.Returns the workers controller.
-
Field Details
-
factory
-
-
Constructor Details
-
XmlRpcServerWorker
Creates a new instance.- Parameters:
pFactory- The factory creating the worker.
-
-
Method Details
-
getController
Description copied from interface:XmlRpcWorkerReturns the workers controller.- Specified by:
getControllerin interfaceXmlRpcWorker- Returns:
- The controller, an instance of
XmlRpcClient, orXmlRpcServer.
-
execute
Description copied from interface:XmlRpcWorkerPerforms a synchronous request. The client worker extends this interface with the ability to perform asynchronous requests.- Specified by:
executein interfaceXmlRpcWorker- Parameters:
pRequest- The request being performed.- Returns:
- The requests result.
- Throws:
XmlRpcException- Performing the request failed.
-