SOMA.network.connection
Class NewServerExplorerItem

java.lang.Object
  extended bySOMA.explorer.ExplorerItem
      extended bySOMA.network.connection.NewServerExplorerItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TelnetServerExplorerItem

public class NewServerExplorerItem
extends ExplorerItem

Voce di menu che crea un nuovo server di connessioni.

Per ogni server creato si aggiunge una nuova voce ad un menu.

Analogamente, per ogni connessione creata dal server si aggiunge una nuova voce allo stesso menu.

Author:
Livio Profiri
See Also:
Serialized Form

Field Summary
(package private)  DirExplorerItem dir
           
(package private)  Environment env
           
 
Fields inherited from class SOMA.explorer.ExplorerItem
Syntax
 
Constructor Summary
NewServerExplorerItem(DirExplorerItem dir)
          Costruttore.
 
Method Summary
 java.lang.Object Execute(java.util.Collection Parameters, java.io.PrintStream out)
          Metodo di esecuzione.
 java.lang.String Help(java.io.PrintStream out)
          Stampa un messaggio di descrizione sul PrintStream specificato.
 
Methods inherited from class SOMA.explorer.ExplorerItem
Execute, getSyntax, Help, setSyntax, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

env

Environment env

dir

DirExplorerItem dir
Constructor Detail

NewServerExplorerItem

public NewServerExplorerItem(DirExplorerItem dir)
Costruttore.

Parameters:
dir - Il menu a cui aggiungere le nuove voci.
Method Detail

Execute

public java.lang.Object Execute(java.util.Collection Parameters,
                                java.io.PrintStream out)
Metodo di esecuzione. Parametro richiesto: la porta del server.

Specified by:
Execute in class ExplorerItem
Parameters:
Parameters - parametri da utilizzare nell'esecuzione.
out - PrintStream a cui inviare l'output.
Returns:
un Object risultato della computazione eseguita.

Help

public java.lang.String Help(java.io.PrintStream out)
Description copied from class: ExplorerItem
Stampa un messaggio di descrizione sul PrintStream specificato. Questo metodo viene eseguito invocando il comando help

Overrides:
Help in class ExplorerItem


Copyright © 2004 Luca Foschini