public class RespectOperation extends AbstractTupleCentreOperation implements IRespectOperation
Modifier and Type | Field and Description |
---|---|
static int |
OPTYPE_ENV |
static int |
OPTYPE_GET_ENV |
static int |
OPTYPE_SET_ENV |
static int |
OPTYPE_TIME |
listener, operationCompleted, OPTYPE_ABORT_OP, OPTYPE_ADD_INSP, OPTYPE_ADD_OBS, OPTYPE_GET, OPTYPE_GET_INSPS, OPTYPE_GET_S, OPTYPE_GET_TRSET, OPTYPE_GET_TSET, OPTYPE_GET_WSET, OPTYPE_GO_CMD, OPTYPE_HAS_INSP, OPTYPE_HAS_OBS, OPTYPE_IN, OPTYPE_IN_ALL, OPTYPE_IN_S, OPTYPE_INP, OPTYPE_INP_S, OPTYPE_IS_STEP_MODE, OPTYPE_NEXT_STEP, OPTYPE_NO, OPTYPE_NO_ALL, OPTYPE_NO_S, OPTYPE_NOP, OPTYPE_NOP_S, OPTYPE_OUT, OPTYPE_OUT_ALL, OPTYPE_OUT_S, OPTYPE_RD, OPTYPE_RD_ALL, OPTYPE_RD_S, OPTYPE_RDP, OPTYPE_RDP_S, OPTYPE_RMV_INSP, OPTYPE_RMV_OBS, OPTYPE_SET, OPTYPE_SET_S, OPTYPE_SET_SPY, OPTYPE_SET_WSET, OPTYPE_SPAWN, OPTYPE_STEP_MODE, OPTYPE_STOP_CMD, OPTYPE_UIN, OPTYPE_UINP, OPTYPE_UNO, OPTYPE_UNOP, OPTYPE_URD, OPTYPE_URDP, RESET, token
Modifier | Constructor and Description |
---|---|
protected |
RespectOperation(int type,
java.util.List<Tuple> tupleList,
OperationCompletionListener l) |
protected |
RespectOperation(int type,
Tuple t,
OperationCompletionListener l) |
protected |
RespectOperation(int type,
TupleTemplate t,
OperationCompletionListener l) |
addListener, getId, getPredicate, getPrimitive, getTemplateArgument, getTupleArgument, getTupleListArgument, getTupleListResult, getTupleResult, getType, isGet, isGetS, isIn, isInAll, isInp, isInpS, isInS, isNo, isNoAll, isNop, isNopS, isNoS, isOperationCompleted, isOut, isOutAll, isOutS, isRd, isRdAll, isRdp, isRdpS, isRdS, isResultDefined, isResultFailure, isResultSuccess, isSet, isSetS, isSpawn, isUin, isUinp, isUno, isUnop, isUrd, isUrdp, notifyCompletion, removeListener, setListener, setOpResult, setTupleListResult, setTupleResult, waitForOperationCompletion, waitForOperationCompletion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, getTemplateArgument, getTupleArgument, getTupleListArgument, getTupleListResult, getTupleResult, isGet, isGetS, isIn, isInAll, isInp, isNo, isNoAll, isNop, isOperationCompleted, isOut, isOutAll, isRd, isRdAll, isRdp, isResultFailure, isResultSuccess, isSet, isSetS, isUin, isUinp, isUrd, isUrdp, waitForOperationCompletion, waitForOperationCompletion
public static final int OPTYPE_ENV
public static final int OPTYPE_GET_ENV
public static final int OPTYPE_SET_ENV
public static final int OPTYPE_TIME
protected RespectOperation(int type, java.util.List<Tuple> tupleList, OperationCompletionListener l)
type
- the integer type-code of the oeprationtupleList
- the list of tuples argument of the operationl
- the listener for operation completionprotected RespectOperation(int type, Tuple t, OperationCompletionListener l)
type
- the integer type-code of the oeprationt
- the tuple argument of the operationl
- the listener for operation completionprotected RespectOperation(int type, TupleTemplate t, OperationCompletionListener l)
type
- the integer type-code of the oeprationt
- the tuple template argument of the operationl
- the listener for operation completionpublic static RespectOperation makeGet(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeGetEnv(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeGetS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeIn(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeInAll(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeInp(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeInpS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeInS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeNo(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeNoAll(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeNop(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeNopS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeNoS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeOut(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeOutAll(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeOutS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeRd(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeRdAll(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeRdp(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeRdpS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeRdS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeSet(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeSetEnv(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeSetS(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeSetS(OperationCompletionListener l)
l
- the listener for operation completionpublic static RespectOperation makeSetS(RespectSpecification spec, OperationCompletionListener l)
spec
- the ReSpecT specification argument of the operationl
- the listener for operation completionpublic static RespectOperation makeSpawn(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeTime(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUin(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUinp(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUno(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUnop(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUrd(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic static RespectOperation makeUrdp(LogicTuple t, OperationCompletionListener l)
t
- the tuple argument of the operationl
- the listener for operation completionpublic LogicTuple getLogicTupleArgument()
IRespectOperation
getLogicTupleArgument
in interface IRespectOperation
public java.util.List<LogicTuple> getLogicTupleListResult()
IRespectOperation
getLogicTupleListResult
in interface IRespectOperation
public LogicTuple getLogicTupleResult()
IRespectOperation
getLogicTupleResult
in interface IRespectOperation
public boolean isEnv()
isEnv
in interface IRespectOperation
true
if this is an env operationpublic boolean isGetEnv()
isGetEnv
in interface IRespectOperation
true
if this is a getEnv operationpublic boolean isSetEnv()
isSetEnv
in interface IRespectOperation
true
if this is a setEnv operationpublic boolean isTime()
isTime
in interface IRespectOperation
true
if this is a time operationpublic java.lang.String toString()
toString
in class java.lang.Object
public LogicTuple toTuple()