public class Console
extends java.lang.Object
Constructor and Description |
---|
Console() |
Modifier and Type | Method and Description |
---|---|
void |
createConsole(de.bsvrz.dav.daf.main.ClientDavInterface dav,
Protocols protocols,
int port,
int timeout)
Erzeugt die Konsole.
|
static void |
sendQuitCmd(java.lang.String host,
int port)
Beendet Protokolle und Auswertungen.
|
void |
terminateServer()
Beendet den Telnet-Server.
|
public void createConsole(de.bsvrz.dav.daf.main.ClientDavInterface dav, Protocols protocols, int port, int timeout)
dav
- Verbindung zum Datenverteiler.protocols
- Hauptklasseport
- Port der Konsole.timeout
- Timeout einer inaktiven Session in Minuten.public static void sendQuitCmd(java.lang.String host, int port) throws java.net.UnknownHostException, java.io.IOException
host
- Hostport
- Portjava.net.UnknownHostException
- Unbekannter Hostjava.io.IOException
- Ein-/Ausgabefehlerpublic void terminateServer() throws java.lang.Exception
java.lang.Exception
- Fehler.