Package | Description |
---|---|
net.jini.core.lookup |
These are the lookup service interfaces and classes.
|
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
Modifier and Type | Method and Description |
---|---|
LookupLocator |
ServiceRegistrar.getLocator()
Returns a LookupLocator that can be used if necessary for unicast
discovery of the lookup service.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstrainableLookupLocator
LookupLocator subclass which supports constraint operations
through the RemoteMethodControl interface. |
Modifier and Type | Field and Description |
---|---|
protected LookupLocator |
IncomingMulticastAnnouncement.locator
Deprecated.
The LookupLocator that has been announced.
|
Modifier and Type | Method and Description |
---|---|
LookupLocator |
IncomingMulticastAnnouncement.getLocator()
Deprecated.
Return a LookupLocator for performing unicast discovery of the
announcing lookup service.
|
LookupLocator[] |
LookupDiscoveryRegistration.getLocators()
Returns an array consisting of the LookupLocator objects corresponding
to specific lookup services the lookup discovery service will attempt
to discover for this registration.
|
LookupLocator[] |
DiscoveryLocatorManagement.getLocators()
Returns an array consisting of the elements of the managed set
of locators; that is, instances of
LookupLocator in
which each instance corresponds to a specific lookup service to
discover. |
Modifier and Type | Method and Description |
---|---|
void |
LookupDiscoveryRegistration.addLocators(LookupLocator[] locators)
Adds a set of LookupLocator objects to the managed set of locators
associated with this registration.
|
void |
DiscoveryLocatorManagement.addLocators(LookupLocator[] locators)
Adds a set of locators to the managed set of locators.
|
static DatagramPacket[] |
OutgoingMulticastAnnouncement.marshal(ServiceID id,
LookupLocator loc,
String[] groups)
Deprecated.
Marshal a multicast announcement into one or more datagram
packets.
|
LookupDiscoveryRegistration |
LookupDiscoveryServiceSafely.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledInstance handback,
long leaseDuration)
Register with the lookup discovery service.
|
LookupDiscoveryRegistration |
LookupDiscoveryService.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
|
void |
LookupDiscoveryRegistration.removeLocators(LookupLocator[] locators)
Deletes a set of of LookupLocator objects from this registration's
managed set of locators.
|
void |
DiscoveryLocatorManagement.removeLocators(LookupLocator[] locators)
Deletes a set of locators from the managed set of locators, and discards
any already-discovered lookup service that corresponds to a deleted
locator.
|
void |
LookupDiscoveryRegistration.setLocators(LookupLocator[] locators)
Replaces all of the locators in this registration's managed set of
locators with a new set of LookupLocator objects.
|
void |
DiscoveryLocatorManagement.setLocators(LookupLocator[] locators)
Replaces all of the locators in the managed set with locators from
a new set, and discards any already-discovered lookup service that
corresponds to a locator that is removed from the managed set
as a result of an invocation of this method.
|
Constructor and Description |
---|
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener)
Constructs an instance of this class that will organize and manage
all discovery-related activities on behalf of the client or service
that instantiates this class.
|
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config)
Constructs an instance of this class, using the given
Configuration , that will organize and manage all
discovery-related activities on behalf of the client or service
that instantiates this class. |
LookupLocatorDiscovery(LookupLocator[] locators)
Creates an instance of this class (
LookupLocatorDiscovery ),
with an initial array of LookupLocator s to be managed. |
LookupLocatorDiscovery(LookupLocator[] locators,
Configuration config)
Constructs a new lookup locator discovery object, set to discover the
given set of locators, and having the given
Configuration . |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.