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.
|
net.jini.export |
Provides generic abstractions for exporting remote objects (
Exporter ), obtaining a proxy from an exported remote
object (ProxyAccessor ), obtaining the
server-side context information for an executing remote call (ServerContext ), and defining export permissions
(ExportPermission ). |
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
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.
|
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
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,
MarshalledObject handback,
ServiceID serviceID,
int transition)
Simple constructor.
|
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
The ServiceID that has been announced.
|
protected ServiceID[] |
IncomingMulticastRequest.serviceIDs
The ServiceIDs from which the requestor has already heard.
|
Modifier and Type | Method and Description |
---|---|
ServiceID |
IncomingMulticastAnnouncement.getServiceID()
Return the ServiceID of the announcing lookup service.
|
ServiceID[] |
IncomingMulticastRequest.getServiceIDs()
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)
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)
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)
Marshal a multicast announcement into one or more datagram
packets.
|
Modifier and Type | Method and Description |
---|---|
ServiceID |
ServiceIDAccessor.serviceID() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceIDListener.serviceIDNotify(ServiceID serviceID)
Called when the JoinManager gets a valid ServiceID from a lookup
service.
|
Constructor and Description |
---|
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the
service with all discovered lookup services, using the supplied
ServiceID . |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items
retrieved through the given
Configuration , that will
register the service with all discovered lookup services, using the
supplied ServiceID . |
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. |
Modifier and Type | Method and Description |
---|---|
ServiceID |
OutriggerServerImpl.serviceID() |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.