|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.common.XmlRpcController
public abstract class XmlRpcController
A common base class for
XmlRpcServer
and
XmlRpcClient
.
Constructor Summary | |
---|---|
XmlRpcController()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcController()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |