|
OpenNMS API 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.capsd.AbstractPlugin
org.opennms.netmgt.capsd.AbstractTcpPlugin
org.opennms.netmgt.capsd.DominoIIOPPlugin
This class is designed to be used by the capabilities daemon to test for the existance of an IIOP on a Domino server on remote interfaces. The class implements the Plugin interface that allows it to be used along with other plugins by the daemon.
Nested Class Summary | |
static class |
DominoIIOPPlugin.DominoConnectionConfig
Encapsulates the configuration characteristics unique to a DominoIIOP connection |
Field Summary | |
private static int |
DEFAULT_IORPORT
Default port of where to find the IOR via HTTP |
private static int |
DEFAULT_PORT
Default port. |
private static int |
DEFAULT_RETRY
Default number of retries for TCP requests |
private static int |
DEFAULT_TIMEOUT
Default timeout (in milliseconds) for TCP requests |
private static java.lang.String |
PROTOCOL_NAME
The protocol supported by the plugin |
Fields inherited from class org.opennms.netmgt.capsd.AbstractTcpPlugin |
m_defaultPort, m_defaultRetry, m_defaultTimeout, m_pluginName, m_protocolName |
Constructor Summary | |
DominoIIOPPlugin()
|
Method Summary | |
protected boolean |
checkProtocol(java.net.Socket socket,
ConnectionConfig config)
|
protected ConnectionConfig |
createConnectionConfig(java.net.InetAddress address,
int port)
|
protected void |
populateConnectionConfig(ConnectionConfig connConfig,
java.util.Map qualifiers)
|
protected boolean |
preconnectCheck(ConnectionConfig tcpConfig)
|
private java.lang.String |
retrieveIORText(java.lang.String host,
int port)
Method used to retrieve the IOR string from the Domino server. |
protected void |
saveConfig(ConnectionConfig config)
|
Methods inherited from class org.opennms.netmgt.capsd.AbstractTcpPlugin |
checkConnection, closeSocket, getConnectionConfigList, getKeyedInteger, getKeyedIntegerArray, getPluginName, getProtocolName, isProtocolSupported, isProtocolSupported, saveConfig, saveKeyedInteger, setPluginName, wrapSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int DEFAULT_IORPORT
private static final int DEFAULT_PORT
private static final int DEFAULT_RETRY
private static final int DEFAULT_TIMEOUT
private static final java.lang.String PROTOCOL_NAME
Constructor Detail |
public DominoIIOPPlugin()
Method Detail |
protected boolean checkProtocol(java.net.Socket socket, ConnectionConfig config)
checkProtocol
in class AbstractTcpPlugin
socket
-
protected ConnectionConfig createConnectionConfig(java.net.InetAddress address, int port)
createConnectionConfig
in class AbstractTcpPlugin
protected void populateConnectionConfig(ConnectionConfig connConfig, java.util.Map qualifiers)
populateConnectionConfig
in class AbstractTcpPlugin
connConfig
- protected boolean preconnectCheck(ConnectionConfig tcpConfig)
preconnectCheck
in class AbstractTcpPlugin
tcpConfig
-
private java.lang.String retrieveIORText(java.lang.String host, int port) throws java.io.IOException
host
- the host name which has the IORport
- the port to find the IOR via HTTP
java.io.IOException
protected void saveConfig(ConnectionConfig config)
|
OpenNMS API 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |