SOMA.naming.domain
Class DNSExplorerItem

java.lang.Object
  extended bySOMA.explorer.ExplorerItem
      extended bySOMA.naming.domain.DNSExplorerItem
All Implemented Interfaces:
java.io.Serializable

public class DNSExplorerItem
extends ExplorerItem

Voce di menu per la gestione di un DNS.

Author:
Livio Profiri
See Also:
Serialized Form

Field Summary
(package private)  DomainNameService dns
           
 
Fields inherited from class SOMA.explorer.ExplorerItem
Syntax
 
Constructor Summary
DNSExplorerItem(DomainNameService dns)
          Costruttore.
 
Method Summary
 java.lang.Object Execute(java.util.Collection Parameters, java.io.PrintStream out)
          Effettua tutte le possibili operazioni su un PNS.
 
Methods inherited from class SOMA.explorer.ExplorerItem
Execute, getSyntax, Help, Help, setSyntax, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dns

DomainNameService dns
Constructor Detail

DNSExplorerItem

public DNSExplorerItem(DomainNameService dns)
Costruttore.

Method Detail

Execute

public java.lang.Object Execute(java.util.Collection Parameters,
                                java.io.PrintStream out)
Effettua tutte le possibili operazioni su un PNS.

Le opzioni sono:
{list | put "domain" "host" "port" | del "domain" | register "host" "port" | refresh {"host" "port"} }

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.


Copyright © 2004 Luca Foschini