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 void
configureServices
(ConnectionProtocol connection) protected TransportProtocolServer
createSession
(Socket socket) protected void
processCommand
(int command, Socket client) protected void
refuseSession
(Socket socket) protected abstract void
protected void
void
protected void
void
stopServer
(String msg)
-
Field Details
-
activeConnections
-
-
Constructor Details
-
SshServer
Creates a new SshServer object.- Throws:
IOException
SshException
-
-
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
-