13742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman/** 23742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * 33742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman */ 43742d9db8b6edb10627b0f89336cca5249f1d15aManuel Romanpackage javax.jmdns; 53742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 63742d9db8b6edb10627b0f89336cca5249f1d15aManuel Romanimport java.util.EventListener; 73742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 83742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman/** 93742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * Listener for network topology updates. 103742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * 113742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * @author Cédrik Lime, Pierre Frisch 123742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman */ 133742d9db8b6edb10627b0f89336cca5249f1d15aManuel Romanpublic interface NetworkTopologyListener extends EventListener { 143742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman /** 153742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * A network address has been added.<br/> 163742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * 173742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * @param event 183742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * The NetworkTopologyEvent providing the name and fully qualified type of the service. 193742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman */ 203742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman void inetAddressAdded(NetworkTopologyEvent event); 213742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 223742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman /** 233742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * A network address has been removed. 243742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * 253742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * @param event 263742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman * The NetworkTopologyEvent providing the name and fully qualified type of the service. 273742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman */ 283742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman void inetAddressRemoved(NetworkTopologyEvent event); 293742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 303742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman} 31