Package com.sshtools.daemon
Class SshServer
java.lang.Object
com.sshtools.daemon.SshServer
- Version:
- $Revision: 1.18 $
- Author:
- $author$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidconfigureServices(ConnectionProtocol connection) protected TransportProtocolServercreateSession(Socket socket) protected voidprocessCommand(int command, Socket client) protected voidrefuseSession(Socket socket) protected abstract voidprotected voidvoidprotected voidvoidstopServer(String msg)
-
Field Details
-
activeConnections
-
-
Constructor Details
-
SshServer
Creates a new SshServer object.- Throws:
IOExceptionSshException
-
-
Method Details
-
startServer
- Throws:
IOException
-
processCommand
- Parameters:
command-client-- Throws:
IOException
-
startCommandSocket
- Throws:
IOException
-
startServerSocket
- Throws:
IOException
-
stopServer
- Parameters:
msg-- Throws:
IOException
-
shutdown
- Parameters:
msg-
-
configureServices
- Parameters:
connection-- Throws:
IOException
-
refuseSession
- Parameters:
socket-- Throws:
IOException
-
createSession
- Parameters:
socket-- Returns:
- Throws:
IOException
-