Package | Description |
---|---|
net.jini.core.event |
The
RemoteEventListener interface and related standard classes. |
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.
|
org.apache.river.example.browser |
A visualization tool for exploring Jini Network Technology
communities (djinns) with support for ServiceUI.
|
org.apache.river.lease |
Some basic utility classes for helping with
client-side lease renewal operations.
|
org.apache.river.mercury |
Provides implementations of the
EventMailbox service.
|
org.apache.river.norm |
Provides implementations of
LeaseRenewalService . |
org.apache.river.norm.event | |
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
org.apache.river.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Method and Description |
---|---|
void |
RemoteEventListener.notify(RemoteEvent theEvent)
Notify the listener about an event.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceEvent
This class is used for remote events sent by the lookup service.
|
Modifier and Type | Class and Description |
---|---|
class |
RemoteDiscoveryEvent
Whenever the lookup discovery service discovers or discards a lookup
service matching the discovery/discard criteria of one or more of its
registrations, the lookup discovery service sends an instance of this
class to the listener corresponding to each such registration.
|
Modifier and Type | Method and Description |
---|---|
RemoteEvent |
RemoteEventIterator.next(long timeout)
Retrieves stored event notifications, if any.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpirationWarningEvent
Event generated by a lease renewal set when its lease is about to
expire.
|
class |
RenewalFailureEvent
Event generated by a lease renewal set when it can't renew a lease it
is responsible for.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceDiscoveryManager.LookupCacheImpl.LookupListener.notify(RemoteEvent evt) |
Modifier and Type | Class and Description |
---|---|
class |
AvailabilityEvent
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceEditor.NotifyReceiver.notify(RemoteEvent ev) |
void |
Browser.Listener.notify(RemoteEvent ev) |
Modifier and Type | Class and Description |
---|---|
class |
BasicRenewalFailureEvent
Basic implementation of
RenewalFailureEvent that
defers unmarshalling. |
Modifier and Type | Field and Description |
---|---|
(package private) RemoteEvent |
RemoteEventIteratorImpl.LocalRemoteEventData.re |
private RemoteEvent |
TransientEventLog.RemoteEventHolder.remoteEvent |
Modifier and Type | Method and Description |
---|---|
private RemoteEvent |
MailboxImpl.NotifyTask.getNextEvent(ServiceRegistration reg)
This utility function tries to obtain the next event for the
given registration.
|
(package private) RemoteEvent |
TransientEventLog.RemoteEventHolder.getRemoteEvent() |
RemoteEvent |
RemoteEventData.getRemoteEvent() |
RemoteEvent |
TransientEventLog.next() |
RemoteEvent |
PersistentEventLog.next() |
RemoteEvent |
EventLogIterator.next()
Return the next event in the collection.
|
RemoteEvent |
EventLogFactory.EventLogIteratorImpl.next() |
RemoteEvent |
EventLog.next()
Return the next RemoteEvent to be read.
|
RemoteEvent |
RemoteEventIteratorImpl.next(long timeout) |
RemoteEvent |
EventReader.read(InputStream in)
Returns the next available RemoteEvent from the stream.
|
Modifier and Type | Method and Description |
---|---|
void |
TransientEventLog.add(RemoteEvent event) |
void |
PersistentEventLog.add(RemoteEvent event) |
void |
EventLogIterator.add(RemoteEvent re)
Store the given RemoteEvent event.
|
void |
EventLogFactory.EventLogIteratorImpl.add(RemoteEvent evt) |
void |
EventLog.add(RemoteEvent event)
Writes the given RemoteEvent to the underlying
storage mechanism, if possible.
|
void |
ListenerProxy.notify(RemoteEvent theEvent) |
void |
MailboxImpl.notify(Uuid registrationID,
RemoteEvent theEvent) |
void |
MailboxBackEnd.notify(Uuid registrationID,
RemoteEvent theEvent)
Collect remote events for the associated registration.
|
private void |
MailboxImpl.notifyDo(Uuid registrationID,
RemoteEvent theEvent)
Performs the actual logic of handling received events and
storing them.
|
void |
EventWriter.write(RemoteEvent ev,
LogOutputStream out)
Writes the given RemoteEvent to the provided
LogOutputStream.
|
Constructor and Description |
---|
EventID(RemoteEvent evt)
Convenience constructor.
|
LocalRemoteEventData(RemoteEvent re,
Object cookie) |
RemoteEventData(RemoteEvent re,
Object cookie)
Creates a new RemoteEventData instance.
|
RemoteEventHolder(long stamp,
RemoteEvent re) |
Modifier and Type | Method and Description |
---|---|
RemoteEvent |
LeaseSet.WarningFactory.createEvent(long eventID,
long seqNum,
MarshalledObject handback) |
RemoteEvent |
ClientLeaseWrapper.FailureFactory.createEvent(long eventID,
long seqNum,
MarshalledObject handback) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
LeaseSet.definiteException(EventType type,
RemoteEvent ev,
long registrationNumber)
If the passed registrationNumber number matches the
current registrationNumber for the passed event
clear the current registration and persist the change
|
void |
NormServerBaseImpl.SendMonitorImpl.definiteException(EventType type,
RemoteEvent ev,
long registrationNumber,
Throwable t) |
Modifier and Type | Field and Description |
---|---|
private RemoteEvent |
EventType.SendTask.event
Cached event
|
Modifier and Type | Method and Description |
---|---|
RemoteEvent |
EventFactory.createEvent(long eventID,
long seqNum,
MarshalledObject handback)
Create the concrete
RemoteEvent for the associated
event occurrence. |
Modifier and Type | Method and Description |
---|---|
void |
SendMonitor.definiteException(EventType type,
RemoteEvent ev,
long registrationNumber,
Throwable t)
Method called when an attempt to send the event associated with
this object results in a definite exception
(e.g.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
OutriggerAvailabilityEvent
Outrigger's implementation of
AvailabilityEvent |
Modifier and Type | Class and Description |
---|---|
(package private) class |
RegistrarEvent
Concrete implementation class for abstract ServiceEvent.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.