Package | Description |
---|---|
eu.gambas.system.communication.registry | |
info.pppc.base.lease |
Modifier and Type | Method and Description |
---|---|
Lease |
DeviceRegistration.getLease()
Returns the lease of the entry.
|
Modifier and Type | Method and Description |
---|---|
void |
DeviceRegistration.setLease(Lease lease)
Sets the lease of the entry.
|
Modifier and Type | Method and Description |
---|---|
Lease |
LeaseRegistry.create(IListener listener)
Creates a new local lease with the default timeout period.
|
Lease |
LeaseRegistry.create(IListener listener,
long timeout)
Creates a new local lease with the specified timeout period.
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseRegistry.hook(Lease lease,
IListener listener)
Hooks up a listener to the specified lease that maintains
the lease.
|
boolean |
LeaseRegistry.remove(Lease lease)
Removes a specified lease that has been created locally and informs
all remote listeners about the removal.
|
boolean |
LeaseRegistry.remove(Lease lease,
boolean notify)
Removes a specified lease that has been created locally.
|
void |
LeaseRegistryProxy.remove(SystemID system,
Lease lease)
Proxy method that creates and transfers an invocation for the interface method.
|
void |
LeaseRegistry.remove(SystemID system,
Lease lease)
Called by a remote lease registry to signal that a certain lease created
by this registry has been removed due to a call to the remove method.
|
void |
ILeaseRegistry.remove(SystemID system,
Lease lease)
Releases the observer that observes the specified object
identifier on the specified system.
|
boolean |
LeaseRegistry.unhook(Lease lease,
IListener listener)
Unhooks a previously registered listener for a specified lease
from the registry.
|
boolean |
LeaseRegistry.unhook(Lease lease,
IListener listener,
boolean notify)
Unhooks a previously registered listener for a specified lease
from the registry.
|
void |
LeaseRegistryProxy.unhook(SystemID system,
Lease lease)
Proxy method that creates and transfers an invocation for the interface method.
|
void |
LeaseRegistry.unhook(SystemID system,
Lease lease)
Called by a remote lease registry whenever the remote system is no
longer interested in a local lease.
|
void |
ILeaseRegistry.unhook(SystemID system,
Lease lease)
Tells the local lease listener that the specified system
has unhooked the lease and that it might be released.
|