public abstract class XmlRpcController extends Object
XmlRpcServer
and
XmlRpcClient
.Constructor and Description |
---|
XmlRpcController() |
Modifier and Type | Method and Description |
---|---|
abstract XmlRpcConfig |
getConfig()
Returns the controllers default configuration.
|
protected abstract XmlRpcWorkerFactory |
getDefaultXmlRpcWorkerFactory()
Creates the controllers default worker factory.
|
int |
getMaxThreads()
Returns the maximum number of concurrent requests.
|
TypeFactory |
getTypeFactory()
Returns the type factory.
|
XmlRpcWorkerFactory |
getWorkerFactory()
Returns the clients worker factory.
|
void |
setMaxThreads(int pMaxThreads)
Sets the maximum number of concurrent requests.
|
void |
setTypeFactory(TypeFactory pTypeFactory)
Sets the type factory.
|
void |
setWorkerFactory(XmlRpcWorkerFactory pFactory)
Sets the clients worker factory.
|
protected abstract XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory()
public void setMaxThreads(int pMaxThreads)
pMaxThreads
- Maximum number of threads or 0 to disable
the limit.public int getMaxThreads()
public void setWorkerFactory(XmlRpcWorkerFactory pFactory)
pFactory
- The factory being used to create workers.public XmlRpcWorkerFactory getWorkerFactory()
public abstract XmlRpcConfig getConfig()
public void setTypeFactory(TypeFactory pTypeFactory)
pTypeFactory
- The type factory.public TypeFactory getTypeFactory()
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.