Class SshPortMonitor
java.lang.Object
com.aoindustries.noc.monitor.portmon.PortMonitor
com.aoindustries.noc.monitor.portmon.DefaultTcpPortMonitor
com.aoindustries.noc.monitor.portmon.SshPortMonitor
Monitors with SSH-specific protocol support.
- 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
-
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
-
SshPortMonitor
Creates a new SSH 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
-