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:XmlRpcWorker
Returns the workers controller.- Specified by:
getController
in interfaceXmlRpcWorker
- Returns:
- The controller, an instance of
XmlRpcClient
, orXmlRpcServer
.
-
execute
Description copied from interface:XmlRpcWorker
Performs a synchronous request. The client worker extends this interface with the ability to perform asynchronous requests.- Specified by:
execute
in interfaceXmlRpcWorker
- Parameters:
pRequest
- The request being performed.- Returns:
- The requests result.
- Throws:
XmlRpcException
- Performing the request failed.
-