public class NetworkTopologyEventImpl extends NetworkTopologyEvent implements Cloneable
source
Constructor and Description |
---|
NetworkTopologyEventImpl(JmDNS jmDNS,
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.
|
InetAddress |
getInetAddress()
The Internet address affected by this event.
|
String |
toString() |
getSource
public NetworkTopologyEventImpl(JmDNS jmDNS, InetAddress inetAddress)
jmDNS
- inetAddress
- IllegalArgumentException
- if source is null.public JmDNS getDNS()
NetworkTopologyEvent
getDNS
in class NetworkTopologyEvent
public InetAddress getInetAddress()
NetworkTopologyEvent
getInetAddress
in class NetworkTopologyEvent
public String toString()
toString
in class EventObject
public NetworkTopologyEventImpl clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2002–2013 JmDNS. All rights reserved.