Public Member Functions | Protected Member Functions | Private Attributes
org.apache.xmlrpc.client.XmlRpcClientWorker Class Reference
Inheritance diagram for org.apache.xmlrpc.client.XmlRpcClientWorker:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Object execute (XmlRpcRequest pRequest) throws XmlRpcException
void execute (final XmlRpcRequest pRequest, final AsyncCallback pCallback)
XmlRpcController getController ()
 XmlRpcClientWorker (XmlRpcClientWorkerFactory pFactory)

Protected Member Functions

Thread newThread (Runnable pRunnable)

Private Attributes

final XmlRpcClientWorkerFactory factory

Detailed Description

Object, which performs a request on the clients behalf. The client maintains a pool of workers. The main purpose of the pool is limitation of the maximum number of concurrent requests.

Since:
3.0

Definition at line 32 of file XmlRpcClientWorker.java.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pFactoryThe factory, which is being notified, if the worker's ready.

Definition at line 39 of file XmlRpcClientWorker.java.


Member Function Documentation

Performs a synchronous request.

Parameters:
pRequestThe request being performed.
Returns:
The requests result.
Exceptions:
XmlRpcExceptionPerforming the request failed.

Implements org.apache.xmlrpc.common.XmlRpcWorker.

Definition at line 52 of file XmlRpcClientWorker.java.

void org.apache.xmlrpc.client.XmlRpcClientWorker.execute ( final XmlRpcRequest  pRequest,
final AsyncCallback  pCallback 
) [inline]

Performs an synchronous request.

Parameters:
pRequestThe request being performed.
pCallbackThe callback being invoked, when the request is finished.

Definition at line 72 of file XmlRpcClientWorker.java.

Returns the workers controller.

Returns:
The controller, an instance of org.apache.xmlrpc.client.XmlRpcClient, or org.apache.xmlrpc.server.XmlRpcServer.

Implements org.apache.xmlrpc.common.XmlRpcWorker.

Definition at line 43 of file XmlRpcClientWorker.java.

Thread org.apache.xmlrpc.client.XmlRpcClientWorker.newThread ( Runnable  pRunnable) [inline, protected]

Definition at line 62 of file XmlRpcClientWorker.java.


Member Data Documentation

Definition at line 33 of file XmlRpcClientWorker.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50