org.apache.xmlrpc
Class XmlRpcClientWorker
java.lang.Object
org.apache.xmlrpc.XmlRpcClientWorker
public class XmlRpcClientWorker
- extends java.lang.Object
Tie together the XmlRequestProcessor and XmlResponseProcessor to handle
a request serially in a single thread.
- Since:
- 2.0
- Author:
- Andrew Evers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestProcessor
protected XmlRpcClientRequestProcessor requestProcessor
responseProcessor
protected XmlRpcClientResponseProcessor responseProcessor
XmlRpcClientWorker
public XmlRpcClientWorker(java.util.TimeZone tz)
XmlRpcClientWorker
public XmlRpcClientWorker(XmlRpcClientRequestProcessor requestProcessor,
XmlRpcClientResponseProcessor responseProcessor)
execute
public java.lang.Object execute(XmlRpcClientRequest xmlRpcRequest,
XmlRpcTransport transport)
throws XmlRpcException,
XmlRpcClientException,
java.io.IOException
- Throws:
XmlRpcException
XmlRpcClientException
java.io.IOException
canReUse
protected boolean canReUse()
- Called by the worker management framework to see if this worker can be
re-used. Must attempt to clean up any state, and return true if it can
be re-used.
- Returns:
- Whether this worker has been cleaned up and may be re-used.
Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.