|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlrpc.XmlRpcClient
org.opennms.netmgt.xmlrpcd.TimeoutSecureXmlRpcClient
public class TimeoutSecureXmlRpcClient
This class was copied from org.apache.xmlrpc.secure.SecureXmlRpcClient with a read timeout added to non https clients.
| Field Summary | |
|---|---|
protected int |
timeout
|
| Fields inherited from class org.apache.xmlrpc.XmlRpcClient |
|---|
asyncWorkers, pool, transportFactory, url, workers |
| Constructor Summary | |
|---|---|
TimeoutSecureXmlRpcClient(String url,
int timeout)
Construct a XML-RPC client for the URL represented by this String, with timeout. |
|
TimeoutSecureXmlRpcClient(String hostname,
int port,
int timeout)
Construct a XML-RPC client for the specified hostname and port, with timeout. |
|
TimeoutSecureXmlRpcClient(URL url,
int timeout)
Construct a XML-RPC client with this URL, with timeout. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Just for testing. |
void |
setup()
This allows us to setup |
| Methods inherited from class org.apache.xmlrpc.XmlRpcClient |
|---|
createTransport, execute, execute, execute, executeAsync, executeAsync, executeAsync, getMaxThreads, getTimeZone, getURL, setBasicAuthentication, setMaxThreads, setTimeZone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int timeout
| Constructor Detail |
|---|
public TimeoutSecureXmlRpcClient(URL url,
int timeout)
public TimeoutSecureXmlRpcClient(String url,
int timeout)
throws MalformedURLException
MalformedURLException
public TimeoutSecureXmlRpcClient(String hostname,
int port,
int timeout)
throws MalformedURLException
MalformedURLException| Method Detail |
|---|
public void setup()
throws Exception
Exception
public static void main(String[] args)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||