Package javax.jmdns.impl
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 java.util.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 java.util.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:NetworkTopologyEvent
Returns the JmDNS instance associated with the event or null if it is a generic event.- Specified by:
getDNS
in classNetworkTopologyEvent
- Returns:
- JmDNS instance
-
getInetAddress
Description copied from class:NetworkTopologyEvent
The Internet address affected by this event.- Specified by:
getInetAddress
in classNetworkTopologyEvent
- Returns:
- InetAddress
-
toString
- Overrides:
toString
in classEventObject
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-