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.
|
org.apache.river.config |
Defines convenience classes for writing
configuration files and accessing Configuration entries. |
org.apache.river.discovery |
Provides a set of constraints, low-level utility classes, and provider
interfaces for participating in versions 1 and 2 of the multicast request,
multicast announcement, and unicast discovery protocols.
|
Modifier and Type | Field and Description |
---|---|
ServiceID |
ServiceTemplate.serviceID
Service ID to match, or null.
|
ServiceID |
ServiceItem.serviceID
A service ID, or null if registering for the first time.
|
protected ServiceID |
ServiceEvent.serviceID
ServiceID of the item that triggered the event.
|
Modifier and Type | Method and Description |
---|---|
ServiceID |
ServiceRegistration.getServiceID()
Returns the service ID for this service.
|
ServiceID |
ServiceRegistrar.getServiceID()
Returns the service ID of the lookup service.
|
ServiceID |
ServiceEvent.getServiceID()
Returns the serviceID of the item that triggered the event.
|
Constructor and Description |
---|
ServiceEvent(Object source,
long eventID,
long seqNo,
MarshalledInstance miHandback,
ServiceID serviceID,
int transition)
Simple constructor.
|
ServiceEvent(Object source,
long eventID,
long seqNo,
MarshalledObject handback,
ServiceID serviceID,
int transition)
Deprecated.
|
ServiceItem(ServiceID serviceID,
Object service,
Entry[] attrSets)
Simple constructor.
|
ServiceTemplate(ServiceID serviceID,
Class[] serviceTypes,
Entry[] attrSetTemplates)
Simple constructor.
|
Modifier and Type | Field and Description |
---|---|
protected ServiceID |
IncomingMulticastAnnouncement.serviceID
Deprecated.
The ServiceID that has been announced.
|
protected ServiceID[] |
IncomingMulticastRequest.serviceIDs
Deprecated.
The ServiceIDs from which the requestor has already heard.
|
Modifier and Type | Method and Description |
---|---|
ServiceID |
IncomingMulticastAnnouncement.getServiceID()
Deprecated.
Return the ServiceID of the announcing lookup service.
|
ServiceID[] |
IncomingMulticastRequest.getServiceIDs()
Deprecated.
Return a set of ServiceIDs from which the requestor has already
heard.
|
Modifier and Type | Method and Description |
---|---|
Map<ServiceID,String[]> |
RemoteDiscoveryEvent.getGroups()
Returns a set that maps to the service ID of each registrar referenced
by this event, the current set of groups in which each registrar is a
member.
|
Modifier and Type | Method and Description |
---|---|
static DatagramPacket[] |
OutgoingMulticastRequest.marshal(int responsePort,
String[] groups,
ServiceID[] heard)
Deprecated.
Using the default maximum packet size, marshal a multicast request
into one or more datagram packets.
|
static DatagramPacket[] |
OutgoingMulticastRequest.marshal(int responsePort,
String[] groups,
ServiceID[] heard,
int maxPacketSize)
Deprecated.
Using the given maximum packet size, marshal a multicast request
into one or more datagram packets.
|
static DatagramPacket[] |
OutgoingMulticastAnnouncement.marshal(ServiceID id,
LookupLocator loc,
String[] groups)
Deprecated.
Marshal a multicast announcement into one or more datagram
packets.
|
Modifier and Type | Method and Description |
---|---|
static ServiceID |
ConfigUtil.createServiceID(String s)
Returns a
ServiceID constructed from a 128-bit value
represented by a string. |
Modifier and Type | Method and Description |
---|---|
ServiceID |
MulticastAnnouncement.getServiceID()
Returns the service ID of the lookup service.
|
ServiceID[] |
MulticastRequest.getServiceIDs()
Returns the service IDs of known lookup services.
|
Constructor and Description |
---|
MulticastAnnouncement(long sequenceNumber,
String host,
int port,
String[] groups,
ServiceID serviceID)
Creates a new
MulticastAnnouncement instance containing the
given values. |
MulticastRequest(String host,
int port,
String[] groups,
ServiceID[] serviceIDs)
Creates a new
MulticastRequest instance containing the
given values. |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.