Class FtpPortMonitor
java.lang.Object
com.aoindustries.noc.monitor.portmon.PortMonitor
com.aoindustries.noc.monitor.portmon.DefaultTcpPortMonitor
com.aoindustries.noc.monitor.portmon.FtpPortMonitor
Monitors with FTP-specific protocol support.
TODO: Support "AUTH TLS" for FTP monitoring
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.noc.monitor.portmon.DefaultTcpPortMonitor
CONNECTED_SUCCESSFULLY, CONNECTED_SUCCESSFULLY_SSL, ssl, TIMEOUT
Fields inherited from class com.aoindustries.noc.monitor.portmon.PortMonitor
canceled, CRLF, ipAddress, port
-
Constructor Summary
ConstructorDescriptionFtpPortMonitor
(InetAddress ipAddress, Port port, URIParameters monitoringParameters) Creates a new FTP monitor. -
Method Summary
Modifier and TypeMethodDescriptioncheckPort
(Socket socket, InputStream socketIn, OutputStream socketOut) Performs any protocol-specific monitoring.Methods inherited from class com.aoindustries.noc.monitor.portmon.DefaultTcpPortMonitor
cancel, checkPort, connect
Methods inherited from class com.aoindustries.noc.monitor.portmon.PortMonitor
getPortMonitor, readLine
-
Constructor Details
-
FtpPortMonitor
Creates a new FTP monitor.
-
-
Method Details
-
checkPort
public String checkPort(Socket socket, InputStream socketIn, OutputStream socketOut) throws Exception Description copied from class:DefaultTcpPortMonitor
Performs any protocol-specific monitoring. This default implementation does nothing.- Overrides:
checkPort
in classDefaultTcpPortMonitor
- Throws:
Exception
-