public abstract class SshServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
activeConnections |
| Constructor and Description |
|---|
SshServer()
Creates a new SshServer object.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
configureServices(ConnectionProtocol connection) |
protected TransportProtocolServer |
createSession(java.net.Socket socket) |
protected void |
processCommand(int command,
java.net.Socket client) |
protected void |
refuseSession(java.net.Socket socket) |
protected abstract void |
shutdown(java.lang.String msg) |
protected void |
startCommandSocket() |
void |
startServer() |
protected void |
startServerSocket() |
void |
stopServer(java.lang.String msg) |
public SshServer()
throws java.io.IOException
java.io.IOExceptionSshExceptionpublic void startServer()
throws java.io.IOException
java.io.IOExceptionprotected void processCommand(int command,
java.net.Socket client)
throws java.io.IOException
command - client - java.io.IOExceptionprotected void startCommandSocket()
throws java.io.IOException
java.io.IOExceptionprotected void startServerSocket()
throws java.io.IOException
java.io.IOExceptionpublic void stopServer(java.lang.String msg)
throws java.io.IOException
msg - java.io.IOExceptionprotected abstract void shutdown(java.lang.String msg)
msg - protected abstract void configureServices(ConnectionProtocol connection) throws java.io.IOException
connection - java.io.IOExceptionprotected void refuseSession(java.net.Socket socket)
throws java.io.IOException
socket - java.io.IOExceptionprotected TransportProtocolServer createSession(java.net.Socket socket) throws java.io.IOException
socket - java.io.IOExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.