br.ufsc.das.general
Class DSTOMSender
java.lang.Object
TOMSender
br.ufsc.das.general.DSTOMSender
- All Implemented Interfaces:
- DepSpaceClient, DepSpace, TSReceiver
public class DSTOMSender
- extends TOMSender
- implements DepSpaceClient, TSReceiver
Method Summary |
DepTuple |
cas(DepTuple template,
DepTuple tuple,
Context ctx)
If the returned value is null, then the tuple was inserted. |
void |
clean(DepTuple proof,
Context ctx)
|
void |
createSpace(java.util.Properties prop)
|
void |
deleteSpace(java.lang.String name)
|
void |
deliver(TSMessage msg)
|
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)
|
void |
TOMReplyReceive(java.lang.Object msg)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSTOMSender
public DSTOMSender(ResponseExtractorFactory extractorFactory,
TSConfiguration conf,
DepSpaceInterceptorHandler interceptorHandler)
- Creates a new instance of TOMulticastClient
TOMReplyReceive
public void TOMReplyReceive(java.lang.Object msg)
out
public void out(DepTuple tuple,
Context ctx)
throws DepSpaceException
- Specified by:
out
in interface DepSpace
- Throws:
DepSpaceException
signedRD
public DepTuple signedRD(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
signedRD
in interface DepSpaceClient
- Throws:
DepSpaceException
clean
public void clean(DepTuple proof,
Context ctx)
throws DepSpaceException
- Specified by:
clean
in interface DepSpaceClient
- 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
createSpace
public void createSpace(java.util.Properties prop)
- Specified by:
createSpace
in interface DepSpaceClient
deleteSpace
public void deleteSpace(java.lang.String name)
throws DepSpaceException
- Specified by:
deleteSpace
in interface DepSpaceClient
- Throws:
DepSpaceException
deliver
public void deliver(TSMessage msg)
- Specified by:
deliver
in interface TSReceiver