SOMA.network.connection
Class NewServerExplorerItem

java.lang.Object
  |
  +--SOMA.explorer.ExplorerItem
        |
        +--SOMA.network.connection.NewServerExplorerItem

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

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)
           
 
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
 

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.
Overrides:
Execute in class ExplorerItem

Help

public java.lang.String Help(java.io.PrintStream out)
Overrides:
Help in class ExplorerItem