com.sshtools.daemon
Class SshServer.ConnectionListener
java.lang.Object
com.sshtools.daemon.SshServer.ConnectionListener
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- SshServer
class SshServer.ConnectionListener
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.apache.commons.logging.Log log
server
private java.net.ServerSocket server
listenAddress
private java.lang.String listenAddress
thread
private java.lang.Thread thread
maxConnections
private int maxConnections
port
private int port
state
private StartStopState state
SshServer.ConnectionListener
public SshServer.ConnectionListener(java.lang.String listenAddress,
int port)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
start
public void start()
stop
public void stop()