org.opennms.netmgt.capsd.plugins
Class ImapPlugin
java.lang.Object
org.opennms.netmgt.capsd.AbstractPlugin
org.opennms.netmgt.capsd.AbstractTcpPlugin
org.opennms.netmgt.capsd.plugins.ImapPlugin
- All Implemented Interfaces:
- Plugin
public final class ImapPlugin
- extends AbstractTcpPlugin
This class is designed to be used by the capabilities daemon to test for the
existance of an IMAP server on remote interfaces. The class implements the
Plugin interface that allows it to be used along with other plugins by the
daemon.
- Author:
- Sowmya Nataraj , Weave , OpenNMS
| Methods inherited from class org.opennms.netmgt.capsd.AbstractTcpPlugin |
checkConnection, closeSocket, createConnectionConfig, getConnectionConfigList, getKeyedInteger, getKeyedIntegerArray, getPluginName, getProtocolName, isProtocolSupported, isProtocolSupported, populateConnectionConfig, preconnectCheck, saveConfig, saveKeyedInteger, setPluginName, wrapSocket |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImapPlugin
public ImapPlugin()
- Parameters:
protocol - defaultPort - defaultTimeout - defaultRetry -
checkProtocol
protected boolean checkProtocol(Socket socket,
ConnectionConfig config)
throws IOException
- Specified by:
checkProtocol in class AbstractTcpPlugin
- Parameters:
isAServer - socket -
- Returns:
-
- Throws:
IOException
Copyright © 2009. All Rights Reserved.