org.opennms.netmgt.capsd.plugins
Class ImapPlugin

java.lang.Object
  extended by org.opennms.netmgt.capsd.AbstractPlugin
      extended by org.opennms.netmgt.capsd.AbstractTcpPlugin
          extended by 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

Constructor Summary
ImapPlugin()
           
 
Method Summary
protected  boolean checkProtocol(Socket socket, ConnectionConfig config)
           
 
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
 

Constructor Detail

ImapPlugin

public ImapPlugin()
Parameters:
protocol -
defaultPort -
defaultTimeout -
defaultRetry -
Method Detail

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.