NetworkTopologyEvent
Date: 2017-02-10

javax.jmdns

## Class NetworkTopologyEvent

- java.lang.Object
- - java.util.EventObject
  - - javax.jmdns.NetworkTopologyEvent

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    NetworkTopologyEventImpl

      public abstract class NetworkTopologyEvent
      extends java.util.EventObject

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `NetworkTopologyEvent(java.lang.Object eventSource)` Constructs a Service Event.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract JmDNS` | `getDNS()` Returns the JmDNS instance associated with the event or null if it is a generic event.
    `abstract java.net.InetAddress` | `getInetAddress()` The Internet address affected by this event.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NetworkTopologyEvent

          protected NetworkTopologyEvent(java.lang.Object eventSource)

      Constructs a Service Event.
      Parameters:
        `eventSource` - The DNS on which the Event initially occurred.
      Throws:
        `java.lang.IllegalArgumentException` - if source is null.

  - ### Method Detail

    - #### 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 java.net.InetAddress getInetAddress()

      The Internet address affected by this event.
      Returns:
        InetAddress