GigaSpaces XAP 9.7.2 API

net.jini.discovery
Interface DiscoveryListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
DiscoveryChangeListener
All Known Implementing Classes:
ApacheLoadBalancerAgent, DynamicLookupLocatorDiscovery

public interface DiscoveryListener
extends EventListener

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

Author:
Sun Microsystems, Inc.
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

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

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.