public class IPDiscoveryDomain extends DiscoveryDomain
| Constructor and Description |
|---|
IPDiscoveryDomain(Memento saved) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IPDiscoveryDomainChangeListener listener)
Add a
IPDiscoveryDomainChangeListener to this IPDiscoveryDomain. |
protected void |
announceIPDomainDown() |
protected void |
announceIPDomainUp() |
boolean |
equals(java.lang.Object obj) |
NetworkInterface |
getIface() |
int |
hashCode() |
boolean |
isIPv6() |
void |
readFromMemento(Memento m) |
void |
removeListener(IPDiscoveryDomainChangeListener listener)
Remove the given
IPDiscoveryDomainChangeListener from this IPDiscoveryDomain. |
void |
saveToMemento(Memento m) |
java.lang.String |
toString() |
public IPDiscoveryDomain(Memento saved)
public NetworkInterface getIface()
public boolean isIPv6()
public void addListener(IPDiscoveryDomainChangeListener listener)
IPDiscoveryDomainChangeListener to this IPDiscoveryDomain. The listener
will announced if changes on this IPDiscoveryDomain are performed.listener - public void removeListener(IPDiscoveryDomainChangeListener listener)
IPDiscoveryDomainChangeListener from this IPDiscoveryDomain.listener - protected void announceIPDomainDown()
protected void announceIPDomainUp()
public int hashCode()
hashCode in class DiscoveryDomainpublic boolean equals(java.lang.Object obj)
equals in class DiscoveryDomainpublic java.lang.String toString()
toString in class DiscoveryDomainpublic void saveToMemento(Memento m)
public void readFromMemento(Memento m)