Public Member Functions | |
abstract XmlRpcConfig | getConfig () |
int | getMaxThreads () |
TypeFactory | getTypeFactory () |
XmlRpcWorkerFactory | getWorkerFactory () |
void | setMaxThreads (int pMaxThreads) |
void | setTypeFactory (TypeFactory pTypeFactory) |
void | setWorkerFactory (XmlRpcWorkerFactory pFactory) |
Protected Member Functions | |
abstract XmlRpcWorkerFactory | getDefaultXmlRpcWorkerFactory () |
Private Attributes | |
int | maxThreads |
TypeFactory | typeFactory = new TypeFactoryImpl(this) |
XmlRpcWorkerFactory | workerFactory = getDefaultXmlRpcWorkerFactory() |
A common base class for org.apache.xmlrpc.server.XmlRpcServer and org.apache.xmlrpc.client.XmlRpcClient.
Definition at line 28 of file XmlRpcController.java.
abstract XmlRpcConfig org.apache.xmlrpc.common.XmlRpcController.getConfig | ( | ) | [pure virtual] |
Returns the controllers default configuration.
Implemented in org.apache.xmlrpc.client.XmlRpcClient, and org.apache.xmlrpc.server.XmlRpcServer.
abstract XmlRpcWorkerFactory org.apache.xmlrpc.common.XmlRpcController.getDefaultXmlRpcWorkerFactory | ( | ) | [protected, pure virtual] |
Creates the controllers default worker factory.
Implemented in org.apache.xmlrpc.client.XmlRpcClient, and org.apache.xmlrpc.server.XmlRpcServer.
int org.apache.xmlrpc.common.XmlRpcController.getMaxThreads | ( | ) | [inline] |
Returns the maximum number of concurrent requests. This includes both synchronous and asynchronous requests.
Definition at line 52 of file XmlRpcController.java.
Returns the type factory.
Definition at line 85 of file XmlRpcController.java.
Returns the clients worker factory.
Definition at line 66 of file XmlRpcController.java.
void org.apache.xmlrpc.common.XmlRpcController.setMaxThreads | ( | int | pMaxThreads | ) | [inline] |
Sets the maximum number of concurrent requests. This includes both synchronous and asynchronous requests.
pMaxThreads | Maximum number of threads or 0 to disable the limit. |
Definition at line 43 of file XmlRpcController.java.
void org.apache.xmlrpc.common.XmlRpcController.setTypeFactory | ( | TypeFactory | pTypeFactory | ) | [inline] |
Sets the type factory.
pTypeFactory | The type factory. |
Definition at line 78 of file XmlRpcController.java.
void org.apache.xmlrpc.common.XmlRpcController.setWorkerFactory | ( | XmlRpcWorkerFactory | pFactory | ) | [inline] |
Sets the clients worker factory.
pFactory | The factory being used to create workers. |
Definition at line 59 of file XmlRpcController.java.
int org.apache.xmlrpc.common.XmlRpcController.maxThreads [private] |
Definition at line 30 of file XmlRpcController.java.
TypeFactory org.apache.xmlrpc.common.XmlRpcController.typeFactory = new TypeFactoryImpl(this) [private] |
Definition at line 31 of file XmlRpcController.java.
XmlRpcWorkerFactory org.apache.xmlrpc.common.XmlRpcController.workerFactory = getDefaultXmlRpcWorkerFactory() [private] |
Definition at line 29 of file XmlRpcController.java.