br.ufsc.das.general
Class DepSpaceImpl

java.lang.Object
  extended by br.ufsc.das.general.DepSpaceImpl
All Implemented Interfaces:
DepSpace, DepSpaceServer

public class DepSpaceImpl
extends java.lang.Object
implements DepSpaceServer


Constructor Summary
DepSpaceImpl()
           
 
Method Summary
 DepTuple cas(DepTuple template, DepTuple tuple, Context ctx)
          If the returned value is null, then the tuple was inserted.
 void clean(DepTuple tuple, Context ctx)
           
 DepTuple findMatching(DepTuple template, boolean remove, int invokerId)
           
 java.util.List<DepTuple> getTuples()
           
 DepTuple in(DepTuple template, Context ctx)
           
 DepTuple inp(DepTuple template, Context ctx)
           
 void out(DepTuple tuple, Context ctx)
           
 DepTuple rd(DepTuple template, Context ctx)
           
 DepTuple rdp(DepTuple template, Context ctx)
           
 DepTuple signedRD(DepTuple template, Context ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepSpaceImpl

public DepSpaceImpl()
Method Detail

signedRD

public DepTuple signedRD(DepTuple template,
                         Context ctx)
                  throws DepSpaceException
Specified by:
signedRD in interface DepSpaceServer
Throws:
DepSpaceException

clean

public void clean(DepTuple tuple,
                  Context ctx)
           throws DepSpaceException
Specified by:
clean in interface DepSpaceServer
Throws:
DepSpaceException

getTuples

public java.util.List<DepTuple> getTuples()
                                   throws DepSpaceException
Specified by:
getTuples in interface DepSpaceServer
Throws:
DepSpaceException

out

public void out(DepTuple tuple,
                Context ctx)
         throws DepSpaceException
Specified by:
out in interface DepSpace
Throws:
DepSpaceException

rd

public DepTuple rd(DepTuple template,
                   Context ctx)
            throws DepSpaceException
Specified by:
rd in interface DepSpace
Throws:
DepSpaceException

in

public DepTuple in(DepTuple template,
                   Context ctx)
            throws DepSpaceException
Specified by:
in in interface DepSpace
Throws:
DepSpaceException

rdp

public DepTuple rdp(DepTuple template,
                    Context ctx)
             throws DepSpaceException
Specified by:
rdp in interface DepSpace
Throws:
DepSpaceException

inp

public DepTuple inp(DepTuple template,
                    Context ctx)
             throws DepSpaceException
Specified by:
inp in interface DepSpace
Throws:
DepSpaceException

cas

public DepTuple cas(DepTuple template,
                    DepTuple tuple,
                    Context ctx)
             throws DepSpaceException
Description copied from interface: DepSpace
If the returned value is null, then the tuple was inserted.

Specified by:
cas in interface DepSpace
Throws:
DepSpaceException

findMatching

public final DepTuple findMatching(DepTuple template,
                                   boolean remove,
                                   int invokerId)