public class NetworkTopologyEventImpl extends NetworkTopologyEvent implements java.lang.Cloneable
| Constructor and Description |
|---|
NetworkTopologyEventImpl(JmDNS jmDNS,
java.net.InetAddress inetAddress)
Constructs a Network Topology Event.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkTopologyEventImpl |
clone() |
JmDNS |
getDNS()
Returns the JmDNS instance associated with the event or null if it is a generic event.
|
java.net.InetAddress |
getInetAddress()
The Internet address affected by this event.
|
java.lang.String |
toString() |
public NetworkTopologyEventImpl(JmDNS jmDNS, java.net.InetAddress inetAddress)
jmDNS - inetAddress - java.lang.IllegalArgumentException - if source is null.public JmDNS getDNS()
NetworkTopologyEventgetDNS in class NetworkTopologyEventpublic java.net.InetAddress getInetAddress()
NetworkTopologyEventgetInetAddress in class NetworkTopologyEventpublic java.lang.String toString()
toString in class java.util.EventObjectpublic NetworkTopologyEventImpl clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException