net.jini.discovery
Interface DiscoveryListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
DiscoveryChangeListener

public interface DiscoveryListener
extends EventListener

This interface must be implemented by parties that wish to obtain notifications from a LookupDiscovery object.

See Also:
LookupDiscovery

Method Summary
 void discarded(DiscoveryEvent e)
          Called when one or more lookup service registrars has been discarded.
 void discovered(DiscoveryEvent e)
          Called when one or more lookup service registrars has been discovered.
 

Method Detail

discovered

public void discovered(DiscoveryEvent e)
Called when one or more lookup service registrars has been discovered. The method should return quickly; e.g., it should not make remote calls.

Parameters:
e - the event that describes the discovered registrars

discarded

public void discarded(DiscoveryEvent e)
Called when one or more lookup service registrars has been discarded. The method should return quickly; e.g., it should not make remote calls.

Parameters:
e - the event that describes the discarded registrars


Copyright 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.