Class NetworkTopologyEventImpl
java.lang.Object
java.util.EventObject
javax.jmdns.NetworkTopologyEvent
javax.jmdns.impl.NetworkTopologyEventImpl
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Field Summary
FieldsFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNetworkTopologyEventImpl(JmDNS jmDNS, InetAddress inetAddress) Constructs a Network Topology Event.NetworkTopologyEventImpl(NetworkTopologyListener jmmDNS, InetAddress inetAddress) -
Method Summary
Methods inherited from class EventObject
getSource
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
_inetAddress
-
-
Constructor Details
-
NetworkTopologyEventImpl
Constructs a Network Topology Event.- Parameters:
jmDNS-inetAddress-- Throws:
IllegalArgumentException- if source is null.
-
NetworkTopologyEventImpl
NetworkTopologyEventImpl(NetworkTopologyListener jmmDNS, InetAddress inetAddress)
-
-
Method Details
-
getDNS
Description copied from class:NetworkTopologyEventReturns the JmDNS instance associated with the event or null if it is a generic event.- Specified by:
getDNSin classNetworkTopologyEvent- Returns:
- JmDNS instance
-
getInetAddress
Description copied from class:NetworkTopologyEventThe Internet address affected by this event.- Specified by:
getInetAddressin classNetworkTopologyEvent- Returns:
- InetAddress
-
toString
- Overrides:
toStringin classEventObject
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-