com.sshtools.daemon
Class SshServer.ConnectionListener

java.lang.Object
  extended by 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


Field Summary
private  java.lang.String listenAddress
           
private  org.apache.commons.logging.Log log
           
private  int maxConnections
           
private  int port
           
private  java.net.ServerSocket server
           
private  StartStopState state
           
private  java.lang.Thread thread
           
 
Constructor Summary
SshServer.ConnectionListener(java.lang.String listenAddress, int port)
           
 
Method Summary
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SshServer.ConnectionListener

public SshServer.ConnectionListener(java.lang.String listenAddress,
                                    int port)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

start

public void start()

stop

public void stop()