javax.jmdns
Class NetworkTopologyEvent
java.lang.Object
java.util.EventObject
javax.jmdns.NetworkTopologyEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NetworkTopologyEventImpl
public abstract class NetworkTopologyEvent
- extends EventObject
- Author:
- Cédrik Lime, Pierre Frisch
- See Also:
- Serialized Form
Method Summary |
abstract JmDNS |
getDNS()
Returns the JmDNS instance associated with the event or null if it is a generic event. |
abstract InetAddress |
getInetAddress()
The Internet address affected by this event. |
NetworkTopologyEvent
protected NetworkTopologyEvent(Object eventSource)
- Constructs a Service Event.
- Parameters:
eventSource
- The DNS on which the Event initially occurred.
- Throws:
IllegalArgumentException
- if source is null.
getDNS
public abstract JmDNS getDNS()
- Returns the JmDNS instance associated with the event or null if it is a generic event.
- Returns:
- JmDNS instance
getInetAddress
public abstract InetAddress getInetAddress()
- The Internet address affected by this event.
- Returns:
- InetAddress
Copyright © 2002-2011 JmDNS. All Rights Reserved.