jPOS 1.6.5 API Documentation

org.jpos.space
Class SpaceTap

java.lang.Object
  extended by org.jpos.space.SpaceTap
All Implemented Interfaces:
SpaceListener

public class SpaceTap
extends java.lang.Object
implements SpaceListener


Constructor Summary
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)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceTap

public SpaceTap(LocalSpace sp,
                java.lang.Object key,
                java.lang.Object tapKey,
                long tapTimeout)
Parameters:
sp - space
key - key to monitor
tapKey - key to use when copying
tapTimeout - copy timeout in millis

SpaceTap

public SpaceTap(LocalSpace ssp,
                LocalSpace dsp,
                java.lang.Object key,
                java.lang.Object tapKey,
                long tapTimeout)
Parameters:
ssp - source space
dsp - destination space
key - key to monitor
tapKey - key to use when copying
tapTimeout - copy timeout in millis
Method Detail

notify

public void notify(java.lang.Object key,
                   java.lang.Object value)
Description copied from interface: SpaceListener

Called by Space implementation whenever an object with the given key is being placed in the Space.

Specified by:
notify in interface SpaceListener
Parameters:
key - Object's key
value - Object's value

close

public void close()

jPOS.org