Package | Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
FiddlerImpl.addGroups(Uuid registrationID,
String[] groups)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.addGroups(Uuid registrationID,
String[] groups)
Adds a set of group names to the managed set of groups associated
with the registration corresponding to the current instance of
this class.
|
void |
FiddlerImpl.addLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.addLocators(Uuid registrationID,
LookupLocator[] locators)
Adds a set of LookupLocator objects to the managed set of locators
associated with the registration corresponding to the current
instance of this class.
|
void |
FiddlerImpl.discard(Uuid registrationID,
ServiceRegistrar registrar)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.discard(Uuid registrationID,
ServiceRegistrar registrar)
Informs the lookup discovery service of the existence of an
unavailable lookup service and requests that the lookup discovery
service discard the unavailable lookup service.
|
String[] |
FiddlerImpl.getGroups(Uuid registrationID)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
String[] |
Fiddler.getGroups(Uuid registrationID)
Returns an array consisting of the names of the groups whose members
are lookup services the lookup discovery service will attempt to
discover for the registration corresponding to the current instance
of this class.
|
LookupLocator[] |
FiddlerImpl.getLocators(Uuid registrationID)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
LookupLocator[] |
Fiddler.getLocators(Uuid registrationID)
Returns an array consisting of the the LookupLocator objects
corresponding to specific lookup services the lookup discovery
service will attempt to discover for for the registration
corresponding to the current instance of this class.
|
MarshalledObject[] |
FiddlerImpl.getRegistrars(Uuid registrationID)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
MarshalledObject[] |
Fiddler.getRegistrars(Uuid registrationID)
Returns an array consisting of instances of the ServiceRegistrar
interface.
|
void |
FiddlerImpl.removeGroups(Uuid registrationID,
String[] groups)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.removeGroups(Uuid registrationID,
String[] groups)
Deletes a set of group names from the managed set of groups
associated with the registration corresponding to the current
instance of this class.
|
void |
FiddlerImpl.removeLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.removeLocators(Uuid registrationID,
LookupLocator[] locators)
Deletes a set of LookupLocator objects from the managed set of
locators associated with the registration corresponding to the
current instance of this class.
|
void |
FiddlerImpl.setGroups(Uuid registrationID,
String[] groups)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.setGroups(Uuid registrationID,
String[] groups)
Replaces all of the group names in the managed set of groups
associated with the registration corresponding to the current
instance of this class.
|
void |
FiddlerImpl.setLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.setLocators(Uuid registrationID,
LookupLocator[] locators)
Replaces with a new set of LookupLocator objects, all of the
elements in the managed set of locators associated with the
registration corresponding to the current instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
MailboxImpl.addUnknownEvents(Uuid uuid,
Collection unknownEvents) |
void |
MailboxBackEnd.addUnknownEvents(Uuid uuid,
Collection unknownEvents)
Get events for the given registration
|
private void |
MailboxImpl.addUnknownEventsDo(Uuid uuid,
Collection unknownEvents)
Performs the actual logic for synchronously getting events
for a particular registration.
|
void |
MailboxImpl.disableDelivery(Uuid uuid) |
void |
MailboxBackEnd.disableDelivery(Uuid registrationID)
Disable delivery of events for the given registration
|
private void |
MailboxImpl.disableDeliveryDo(Uuid uuid)
Performs the actual logic for disabling event delivery
for a particular registration.
|
private void |
MailboxImpl.disableRegistration(Uuid uuid)
Utility method that disables event delivery for the
registration associated with the given UUID
|
private void |
MailboxImpl.disableRegistrationIterator(Uuid regId)
Utility method that sets the valid iterator id for provided registration.
|
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.
|
private void |
MailboxImpl.enableRegistrationIterator(Uuid regId,
Uuid iterId)
Utility method that sets the valid iterator id for provided registration.
|
Collection |
MailboxImpl.getNextBatch(Uuid regId,
Uuid iterId,
long timeout,
Object lastEventCookie) |
Collection |
MailboxBackEnd.getNextBatch(Uuid regId,
Uuid iterId,
long timeout,
Object lastEventCookie)
Get next batch of events for the given registration.
|
private Collection |
MailboxImpl.getNextBatchDo(Uuid regId,
Uuid iterId,
long timeout,
Object lastEventCookie)
Does the actual logic for obtaining the next set of events for the
given registration.
|
RemoteEventIteratorData |
MailboxImpl.getRemoteEvents(Uuid uuid) |
RemoteEventIteratorData |
MailboxBackEnd.getRemoteEvents(Uuid uuid)
Get events for the given registration via the returned iterator.
|
private RemoteEventIteratorData |
MailboxImpl.getRemoteEventsDo(Uuid uuid)
Performs the actual logic for synchronously getting events
for a particular registration.
|
private ServiceRegistration |
MailboxImpl.getServiceRegistration(Uuid regID)
Utility method that tries to obtain the ServiceRegistration
object associated with the given Uuid.
|
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.
|
private void |
MailboxImpl.validateIterator(Uuid regId,
Uuid iterId) |
Modifier and Type | Method and Description |
---|---|
private void |
NormServerBaseImpl.add(LeaseSet set,
Lease leaseToRenew,
long membershipDuration,
long renewDuration)
Add the lease to the set.
|
private static void |
NormServerBaseImpl.ensureCurrent(LeaseSet set)
Throw a NoSuchObjectException, wrapped in a ThrowThis, if the
passed set has expired.
|
GetLeasesResult |
NormServerBaseImpl.getLeases(Uuid id) |
GetLeasesResult |
NormServer.getLeases(Uuid id)
Return all the leases in the set.
|
private LeaseSet |
NormServerBaseImpl.getSet(Uuid id)
Return the set with the specified id, or throw a
NoSuchObjectException, wrapped in a ThrowThis if the set can't be found
|
Lease |
NormServerBaseImpl.remove(Uuid id,
Lease leaseToRemove) |
Lease |
NormServer.remove(Uuid id,
Lease leaseToRemove)
Remove a lease from a set.
|
void |
NormServerBaseImpl.renewFor(Uuid id,
Lease leaseToRenew,
long membershipDuration,
long renewDuration) |
void |
NormServer.renewFor(Uuid id,
Lease leaseToRenew,
long membershipDuration,
long renewDuration)
Add a lease to a set.
|
EventRegistration |
NormServerBaseImpl.setExpirationWarningListener(Uuid id,
RemoteEventListener listener,
long minWarning,
MarshalledObject handback) |
EventRegistration |
NormServer.setExpirationWarningListener(Uuid id,
RemoteEventListener listener,
long minWarning,
MarshalledObject handback)
Set the expiration warning listener for a set.
|
EventRegistration |
NormServerBaseImpl.setRenewalFailureListener(Uuid id,
RemoteEventListener listener,
MarshalledObject handback) |
EventRegistration |
NormServer.setRenewalFailureListener(Uuid id,
RemoteEventListener listener,
MarshalledObject handback)
Set the renewal failure listener for a set.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.