View Javadoc

1   /**
2    *
3    */
4   package javax.jmdns;
5   
6   import java.util.EventListener;
7   
8   /**
9    * Listener for network topology updates.
10   * 
11   * @author Cédrik Lime, Pierre Frisch
12   */
13  public interface NetworkTopologyListener extends EventListener {
14      /**
15       * A network address has been added.<br/>
16       * 
17       * @param event
18       *            The NetworkTopologyEvent providing the name and fully qualified type of the service.
19       */
20      void inetAddressAdded(NetworkTopologyEvent event);
21  
22      /**
23       * A network address has been removed.
24       * 
25       * @param event
26       *            The NetworkTopologyEvent providing the name and fully qualified type of the service.
27       */
28      void inetAddressRemoved(NetworkTopologyEvent event);
29  
30  }