DFSS
Class HostID

java.lang.Object
  extended byDFSS.HostID
All Implemented Interfaces:
java.io.Serializable

public class HostID
extends java.lang.Object
implements java.io.Serializable

Author:
Dario Agostinone Identificatore di un nodo
See Also:
Serialized Form

Constructor Summary
HostID(java.lang.String nome, java.lang.String ip)
          Costruttore
 
Method Summary
 boolean equals(java.lang.Object in)
          Restiuisce true se l'host id passato in ingresso è uguale all'istanza
 java.lang.String getIP()
          Restituisce l'ip del registry
 java.lang.String getNome()
          restituisce il nome dell'host
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostID

public HostID(java.lang.String nome,
              java.lang.String ip)
Costruttore

Method Detail

getNome

public java.lang.String getNome()
restituisce il nome dell'host


getIP

public java.lang.String getIP()
Restituisce l'ip del registry


equals

public boolean equals(java.lang.Object in)
Restiuisce true se l'host id passato in ingresso è uguale all'istanza