LD.4. Supporting Interfaces and Classes

The lookup discovery service depends on the LookupDiscoveryRegistration interface, as well as on the concrete classes RemoteDiscoveryEvent and LookupUnmarshalException.

LD.4.1. The LookupDiscoveryRegistration Interface

When a client requests a registration with the lookup discovery service, an object that implements the LookupDiscoveryRegistration interface is returned. It is through this interface that the client manages the state of its registration with the lookup discovery service.

 package net.jini.discovery; public interface LookupDiscoveryRegistration { public EventRegistration getEventRegistration(); public Lease getLease(); public ServiceRegistrar[] getRegistrars() throws LookupUnmarshalException, ...

Get Jini™ Specifications, The, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.