Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved