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.
Constructor and Description |
---|
FtpPlugin()
Constructor for FtpPlugin.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkProtocol(Socket socket,
ConnectionConfig config)
checkProtocol
|
checkConnection, closeSocket, createConnectionConfig, getConnectionConfigList, getKeyedInteger, getKeyedIntegerArray, getPluginName, getProtocolName, getSocketWrapper, isProtocolSupported, isProtocolSupported, populateConnectionConfig, preconnectCheck, saveConfig, saveKeyedInteger, setPluginName
protected boolean checkProtocol(Socket socket, ConnectionConfig config) throws IOException
checkProtocol
checkProtocol
in class AbstractTcpPlugin
socket
- a Socket
object.config
- a ConnectionConfig
object.IOException
Copyright © 2017. All rights reserved.