|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceDiscoveryListener | |
---|---|
net.jini.lookup | Standard utility classes for managing the join state of a service and the service discovery duties of a client or service. |
Uses of ServiceDiscoveryListener in net.jini.lookup |
---|
Classes in net.jini.lookup that implement ServiceDiscoveryListener | |
---|---|
private static class |
ServiceDiscoveryManager.ServiceDiscoveryListenerImpl
Class that defines the listener that will receive local events from the internal LookupCache used in the blocking versions of lookup(). |
Methods in net.jini.lookup with parameters of type ServiceDiscoveryListener | |
---|---|
void |
LookupCache.addListener(ServiceDiscoveryListener listener)
Registers a ServiceDiscoveryListener object with
the event mechanism of a LookupCache . |
void |
ServiceDiscoveryManager.LookupCacheImpl.addListener(ServiceDiscoveryListener listener)
|
private void |
ServiceDiscoveryManager.LookupCacheImpl.addServiceNotify(ServiceItem item,
ServiceDiscoveryListener srvcListener)
Sends a notification to the given listener when a ServiceItem has been added. |
LookupCache |
ServiceDiscoveryManager.createLookupCache(ServiceTemplate tmpl,
ServiceItemFilter filter,
ServiceDiscoveryListener listener)
The createLookupCache method allows the client-like
entity to request that the ServiceDiscoveryManager
create a new managed set (or cache) and populate it with
services, which match criteria defined by the entity, and whose
references are registered with one or more of the lookup
services the entity has targeted for discovery. |
private ServiceDiscoveryManager.LookupCacheImpl |
ServiceDiscoveryManager.createLookupCache(ServiceTemplate tmpl,
ServiceItemFilter filter,
ServiceDiscoveryListener listener,
long leaseDuration)
Creates a LookupCache with specific lease duration. |
void |
LookupCache.removeListener(ServiceDiscoveryListener listener)
Removes a ServiceDiscoveryListener object from the set
of listeners currently registered with the LookupCache . |
void |
ServiceDiscoveryManager.LookupCacheImpl.removeListener(ServiceDiscoveryListener listener)
|
private void |
ServiceDiscoveryManager.LookupCacheImpl.serviceNotifyDo(ServiceItem oldItem,
ServiceItem item,
int action,
ServiceDiscoveryListener sl)
Common code for performing service notification to one listener. |
Constructors in net.jini.lookup with parameters of type ServiceDiscoveryListener | |
---|---|
ServiceDiscoveryManager.LookupCacheImpl(ServiceTemplate tmpl,
ServiceItemFilter filter,
ServiceDiscoveryListener sListener,
long leaseDuration)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |