Package javax.jmdns
Class NetworkTopologyEvent
java.lang.Object
java.util.EventObject
javax.jmdns.NetworkTopologyEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NetworkTopologyEventImpl
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkTopologyEvent
(Object eventSource) Constructs a Service Event. -
Method Summary
Modifier and TypeMethodDescriptionabstract JmDNS
getDNS()
Returns the JmDNS instance associated with the event or null if it is a generic event.abstract InetAddress
The Internet address affected by this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NetworkTopologyEvent
Constructs a Service Event.- Parameters:
eventSource
- The DNS on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getDNS
Returns the JmDNS instance associated with the event or null if it is a generic event.- Returns:
- JmDNS instance
-
getInetAddress
The Internet address affected by this event.- Returns:
- InetAddress
-