Serializable, Cloneablepublic class NetworkTopologyEventImpl extends NetworkTopologyEvent implements Cloneable
source| Constructor | Description |
|---|---|
NetworkTopologyEventImpl(JmDNS jmDNS,
InetAddress inetAddress) |
Constructs a Network Topology Event.
|
| Modifier and Type | Method | 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() |
getSourcepublic NetworkTopologyEventImpl(JmDNS jmDNS, InetAddress inetAddress)
jmDNS - inetAddress - IllegalArgumentException - if source is null.public JmDNS getDNS()
NetworkTopologyEventgetDNS in class NetworkTopologyEventpublic InetAddress getInetAddress()
NetworkTopologyEventgetInetAddress in class NetworkTopologyEventpublic String toString()
toString in class EventObjectpublic NetworkTopologyEventImpl clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2002–2018 JmDNS. All rights reserved.