public class SpaceTap extends java.lang.Object implements SpaceListener
| Constructor and Description |
|---|
SpaceTap(LocalSpace ssp,
LocalSpace dsp,
java.lang.Object key,
java.lang.Object tapKey,
long tapTimeout) |
SpaceTap(LocalSpace sp,
java.lang.Object key,
java.lang.Object tapKey,
long tapTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
notify(java.lang.Object key,
java.lang.Object value)
Called by Space implementation whenever an object
with the given key is being placed in the Space.
|
public SpaceTap(LocalSpace sp, java.lang.Object key, java.lang.Object tapKey, long tapTimeout)
sp - spacekey - key to monitortapKey - key to use when copyingtapTimeout - copy timeout in millispublic SpaceTap(LocalSpace ssp, LocalSpace dsp, java.lang.Object key, java.lang.Object tapKey, long tapTimeout)
ssp - source spacedsp - destination spacekey - key to monitortapKey - key to use when copyingtapTimeout - copy timeout in millispublic void notify(java.lang.Object key,
java.lang.Object value)
SpaceListenerCalled by Space implementation whenever an object with the given key is being placed in the Space.
notify in interface SpaceListenerkey - Object's keyvalue - Object's valuepublic void close()