|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.detector.jmx.client.JMXClient
public abstract class JMXClient
Abstract JMXClient class.
| Constructor Summary | |
|---|---|
JMXClient()
|
|
| Method Summary | |
|---|---|
void |
close()
close |
void |
connect(InetAddress address,
int port,
int timeout)
connect |
protected abstract Map<String,Object> |
generateMap(int port,
int timeout)
generateMap |
protected abstract ConnectionWrapper |
getMBeanServerConnection(Map<String,Object> parameterMap,
InetAddress address)
getMBeanServerConnection |
Integer |
receiveBanner()
receiveBanner |
Integer |
sendRequest(ConnectionWrapper request)
sendRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXClient()
| Method Detail |
|---|
public void close()
close
close in interface Client<ConnectionWrapper,Integer>
protected abstract ConnectionWrapper getMBeanServerConnection(Map<String,Object> parameterMap,
InetAddress address)
getMBeanServerConnection
parameterMap - a Map object.address - a InetAddress object.
ConnectionWrapper object.
protected abstract Map<String,Object> generateMap(int port,
int timeout)
generateMap
port - a int.timeout - a int.
Map object.
public void connect(InetAddress address,
int port,
int timeout)
throws IOException,
Exception
connect
connect in interface Client<ConnectionWrapper,Integer>address - a InetAddress object.port - a int.timeout - a int.
IOException - if any.
Exception - if any.
public Integer receiveBanner()
throws IOException,
Exception
receiveBanner
receiveBanner in interface Client<ConnectionWrapper,Integer>Integer object.
IOException - if any.
Exception - if any.
public Integer sendRequest(ConnectionWrapper request)
throws IOException,
Exception
sendRequest
sendRequest in interface Client<ConnectionWrapper,Integer>request - a ConnectionWrapper object.
Integer object.
IOException - if any.
Exception - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||