javax.jmdns.impl
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()
NetworkTopologyEvent
getDNS
in class NetworkTopologyEvent
public java.net.InetAddress getInetAddress()
NetworkTopologyEvent
getInetAddress
in class NetworkTopologyEvent
public java.lang.String toString()
toString
in class java.util.EventObject
public NetworkTopologyEventImpl clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException