Package | Description |
---|---|
com.sun.jini.example.browser |
A visualization tool for exploring Jini Network Technology
communities (djinns) with support for ServiceUI.
|
com.sun.jini.fiddler |
Provides the server side of an implementation of the lookup discovery service
(see
). |
com.sun.jini.mercury |
Provides implementations of the
EventMailbox service.
|
com.sun.jini.norm |
Provides implementations of
LeaseRenewalService . |
com.sun.jini.norm.event | |
com.sun.jini.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
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.event | |
net.jini.lease |
Standard service and utility classes for managing leases.
|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
net.jini.space |
JavaSpaces servers provide a place on the network, a space,
for clients to store and exchange objects.
|
Modifier and Type | Class and Description |
---|---|
private class |
Browser.Listener |
private class |
ServiceEditor.NotifyReceiver |
Modifier and Type | Field and Description |
---|---|
(package private) RemoteEventListener |
ServiceEditor.NotifyReceiver.proxy |
(package private) RemoteEventListener |
Browser.Listener.proxy |
Modifier and Type | Field and Description |
---|---|
RemoteEventListener |
FiddlerImpl.RegistrationInfo.listener
The remote event listener registered by the client.
|
Modifier and Type | Method and Description |
---|---|
LookupDiscoveryRegistration |
FiddlerProxy.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers with the lookup discovery service.
|
LookupDiscoveryRegistration |
FiddlerImpl.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers with the lookup discovery service.
|
LookupDiscoveryRegistration |
Fiddler.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
On behalf of a requesting client, creates a registration with the
lookup discovery service, which then performs discovery processing
on behalf of the client.
|
private LookupDiscoveryRegistration |
FiddlerImpl.registerDo(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
This method is called by the public method
register . |
Constructor and Description |
---|
FiddlerImpl.RegistrationInfo(Uuid registrationID,
String[] groups,
LookupLocator[] locators,
Uuid leaseID,
long leaseExpiration,
long eventID,
MarshalledObject handback,
RemoteEventListener listener)
Constructs an instance of this class and stores the information
related to the current registration: IDs, managed sets, lease
information, and event registration information.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
ListenerProxy
The
ListenerProxy class implements the
RemoteEventListener interface. |
(package private) static class |
ListenerProxy.ConstrainableListenerProxy
A subclass of ListenerProxy that implements RemoteMethodControl.
|
Modifier and Type | Field and Description |
---|---|
private RemoteEventListener |
ServiceRegistration.preparedEventTarget
The prepared, client-provided notification target.
|
private RemoteEventListener |
MailboxImpl.RegistrationEnabledLogObj.target
The registration ID.
|
Modifier and Type | Method and Description |
---|---|
RemoteEventListener |
ServiceRegistration.getEventTarget()
Get the reference to the prepared,
client-supplied notification target
|
RemoteEventListener |
Registration.getListener() |
Modifier and Type | Method and Description |
---|---|
private boolean |
MailboxImpl.NotifyTask.disableRegistration(Uuid regID,
RemoteEventListener l)
This utility function attempts to disable the given registration
because there was a problem with the provided listener.
|
void |
Registration.enableDelivery(RemoteEventListener target) |
void |
MailboxImpl.enableDelivery(Uuid uuid,
RemoteEventListener target) |
void |
MailboxBackEnd.enableDelivery(Uuid registrationID,
RemoteEventListener target)
Enable delivery of events for the given registration
to the specified target
|
private void |
MailboxImpl.enableDeliveryDo(Uuid uuid,
RemoteEventListener preparedTarget)
Performs the actual enable delivery logic
|
private void |
MailboxImpl.enableRegistration(Uuid uuid,
RemoteEventListener preparedTarget)
Utility method that associates the given listener with the
associated registration object.
|
void |
ServiceRegistration.setEventTarget(RemoteEventListener preparedTarget)
Set the reference to the client-supplied notification target
|
Constructor and Description |
---|
MailboxImpl.RegistrationEnabledLogObj(Uuid id,
RemoteEventListener l)
Simple constructor
|
Modifier and Type | Field and Description |
---|---|
private RemoteEventListener |
EventType.listener
Transient cache of listener in unmarshalled form
|
Modifier and Type | Method and Description |
---|---|
private RemoteEventListener |
EventType.getListener()
Convince method to get the listener.
|
Modifier and Type | Method and Description |
---|---|
void |
EventType.setListener(RemoteEventListener listener,
MarshalledObject handback)
(Re)set the listener for this type of event.
|
Constructor and Description |
---|
EventType(EventTypeGenerator generator,
SendMonitor monitor,
long evID,
RemoteEventListener listener,
MarshalledObject handback)
Simple constructor.
|
Modifier and Type | Field and Description |
---|---|
private RemoteEventListener |
TransactableEventWatcher.listener
The listener that should be notified of matches
|
private RemoteEventListener |
TransactableAvailabilityWatcher.listener
The listener that should be notified of matches
|
Modifier and Type | Method and Description |
---|---|
(package private) RemoteEventListener |
TransactableEventWatcher.getListener(ProxyPreparer preparer) |
(package private) RemoteEventListener |
TransactableAvailabilityWatcher.getListener(ProxyPreparer preparer) |
(package private) RemoteEventListener |
StorableEventWatcher.getListener(ProxyPreparer preparer) |
(package private) RemoteEventListener |
StorableAvailabilityWatcher.getListener(ProxyPreparer preparer) |
(package private) abstract RemoteEventListener |
EventRegistrationWatcher.getListener(ProxyPreparer preparer)
Return the remote listener associated with this
EventRegistrationWatcher . |
(package private) abstract RemoteEventListener |
AvailabilityRegistrationWatcher.getListener(ProxyPreparer preparer)
Return the remote listener associated with this
EventRegistrationWatcher . |
Modifier and Type | Method and Description |
---|---|
EventRegistration |
OutriggerServerWrapper.notify(EntryRep tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback) |
EventRegistration |
OutriggerServerImpl.notify(EntryRep tmpl,
Transaction tr,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback) |
EventRegistration |
OutriggerServer.notify(EntryRep tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback)
When entries are written that match this template notify the
given
listener . |
EventRegistration |
SpaceProxy2.notify(Entry tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback) |
EventRegistration |
SpaceProxy2.registerForAvailabilityEvent(Collection tmpls,
Transaction txn,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseDuration,
MarshalledObject handback) |
EventRegistration |
OutriggerServerWrapper.registerForAvailabilityEvent(EntryRep[] tmpls,
Transaction txn,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback) |
EventRegistration |
OutriggerServerImpl.registerForAvailabilityEvent(EntryRep[] tmpls,
Transaction tr,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback) |
EventRegistration |
OutriggerServer.registerForAvailabilityEvent(EntryRep[] tmpls,
Transaction txn,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseTime,
MarshalledObject handback)
When entries that match one or more of the passed templates
transition from invisible to visible notify the give
listener . |
Constructor and Description |
---|
StorableAvailabilityWatcher(long timestamp,
long startOrdinal,
Uuid cookie,
boolean visibilityOnly,
MarshalledObject handback,
long eventID,
RemoteEventListener listener)
Create a new
StorableAvailabilityWatcher . |
StorableEventWatcher(long timestamp,
long startOrdinal,
Uuid cookie,
MarshalledObject handback,
long eventID,
RemoteEventListener listener)
Create a new
StorableEventWatcher . |
TransactableAvailabilityWatcher(long timestamp,
long startOrdinal,
Uuid cookie,
boolean visibilityOnly,
MarshalledObject handback,
long eventID,
RemoteEventListener listener,
Txn txn)
Create a new
TransactableAvailabilityWatcher . |
TransactableEventWatcher(long timestamp,
long startOrdinal,
Uuid cookie,
MarshalledObject handback,
long eventID,
RemoteEventListener listener,
Txn txn)
Create a new
TransactableEventWatcher . |
Modifier and Type | Field and Description |
---|---|
RemoteEventListener |
RegistrarImpl.EventReg.listener
The event listener.
|
Modifier and Type | Method and Description |
---|---|
EventRegistration |
RegistrarProxy.notify(ServiceTemplate tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration) |
EventRegistration |
RegistrarImpl.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration) |
EventRegistration |
Registrar.notify(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers for event notification.
|
private EventRegistration |
RegistrarImpl.notifyDo(Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
The code that does the real work of notify.
|
Constructor and Description |
---|
RegistrarImpl.EventReg(long eventID,
Uuid leaseID,
Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseExpiration)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
EventRegistration |
ServiceRegistrar.notify(ServiceTemplate tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers for event notification.
|
Modifier and Type | Method and Description |
---|---|
LookupDiscoveryRegistration |
LookupDiscoveryService.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Register with the lookup discovery service.
|
Modifier and Type | Method and Description |
---|---|
RemoteEventListener |
MailboxRegistration.getListener()
Returns the
RemoteEventListener associated
with this registration. |
Modifier and Type | Method and Description |
---|---|
void |
MailboxRegistration.enableDelivery(RemoteEventListener target)
Initiates delivery of stored notifications to the supplied
target listener, if any. |
Modifier and Type | Method and Description |
---|---|
EventRegistration |
LeaseRenewalSet.setExpirationWarningListener(RemoteEventListener listener,
long minWarning,
MarshalledObject handback)
Register for the expiration warning event associated with this
set.
|
EventRegistration |
LeaseRenewalSet.setRenewalFailureListener(RemoteEventListener listener,
MarshalledObject handback)
Register for the renewal failure event associated with this set.
|
Modifier and Type | Class and Description |
---|---|
private class |
ServiceDiscoveryManager.LookupCacheImpl.LookupListener |
Modifier and Type | Field and Description |
---|---|
private RemoteEventListener |
ServiceDiscoveryManager.LookupCacheImpl.lookupListenerProxy |
Modifier and Type | Method and Description |
---|---|
private ServiceDiscoveryManager.EventReg |
ServiceDiscoveryManager.registerListener(ServiceRegistrar proxy,
ServiceTemplate tmpl,
RemoteEventListener listenerProxy,
long duration)
Registers for events from the lookup service associated with the
given proxy, and returns both the lease and the event sequence number
from the event registration wrapped in the locally-defined class,
EventReg . |
Modifier and Type | Method and Description |
---|---|
EventRegistration |
JavaSpace.notify(Entry tmpl,
Transaction txn,
RemoteEventListener listener,
long lease,
MarshalledObject handback)
When entries are written that match this template notify the
given
listener with a RemoteEvent that
includes the handback object. |
EventRegistration |
JavaSpace05.registerForAvailabilityEvent(Collection tmpls,
Transaction txn,
boolean visibilityOnly,
RemoteEventListener listener,
long leaseDuration,
MarshalledObject handback)
Register for events triggered when a matching
Entry
transitions from unavailable to available. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.