org.opennms.netmgt.capsd.plugins
Class FtpPlugin

java.lang.Object
  extended by org.opennms.netmgt.capsd.AbstractPlugin
      extended by org.opennms.netmgt.capsd.AbstractTcpPlugin
          extended by org.opennms.netmgt.capsd.plugins.FtpPlugin
All Implemented Interfaces:
Plugin

public final class FtpPlugin
extends AbstractTcpPlugin

This class is designed to be used by the capabilities daemon to test for the existance of an FTP server on remote interfaces. The class implements the Plugin interface that allows it to be used along with other plugins by the daemon.

Author:
Tarus , Sowmya , Weave , OpenNMS

Constructor Summary
FtpPlugin()
           
 
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

FtpPlugin

public FtpPlugin()
Parameters:
protocol -
defaultPort -
defaultTimeout -
defaultRetries -
Method Detail

checkProtocol

protected boolean checkProtocol(Socket socket,
                                ConnectionConfig config)
                         throws IOException
Specified by:
checkProtocol in class AbstractTcpPlugin
Parameters:
socket -
config -
log -
isAServer -
Returns:
Throws:
IOException


Copyright © 2009. All Rights Reserved.