public class ArSCmdInterface extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SEND_TIMEOUT
Max.
|
| Constructor and Description |
|---|
ArSCmdInterface(ArchiveManager am,
int port)
Erzeugt den Telnet Server.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
sendQuitCmd(String host,
int port)
Beendet das Archivsystem über den Telnet Server.
|
void |
start()
Startet den Telnet Server.
|
public static int SEND_TIMEOUT
public ArSCmdInterface(ArchiveManager am, int port)
start() aufgerufen werden.am - ArchivManagerport - Port des Telnet Serverspublic void start()
public static void sendQuitCmd(String host, int port) throws UnknownHostException, IOException
host - Host des Serversport - Port des ServersUnknownHostException - Unbekannter Host.IOException - Fehler beim erzeugen des Sockets.