public class RespectTC extends java.lang.Object implements IRespectTC
Constructor and Description |
---|
RespectTC(TupleCentreId tid,
RespectTCContainer container,
int qSize) |
public RespectTC(TupleCentreId tid, RespectTCContainer container, int qSize)
tid
- the identifier of the tuple centrecontainer
- the ReSpecT wrapper this tuple centre refers toqSize
- the maximum size of the input queuepublic IRespectOperation get(IId id) throws OperationNotPossibleException
get
in interface IRespectTC
id
- the identifier of who is invoking the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation get(IId id, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
get
in interface IRespectTC
id
- agent identifierl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IEnvironmentContext getEnvironmentContext()
public TupleCentreId getId()
IRespectTC
getId
in interface IRespectTC
public ILinkContext getLinkContext()
public IManagementContext getManagementContext()
public IOrdinaryAsynchInterface getOrdinaryAsynchInterface()
public IOrdinarySynchInterface getOrdinarySynchInterface()
public IRespectOperation getS(IId aid) throws OperationNotPossibleException
getS
in interface IRespectTC
aid
- the identifier of who is invoking the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation getS(IId aid, OperationCompletionListener l) throws OperationNotPossibleException
getS
in interface IRespectTC
aid
- the identifier of who is invoking the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic ISpecificationAsynchInterface getSpecificationAsynchInterface()
public ISpecificationSynchInterface getSpecificationSynchInterface()
public ITimedContext getTimedContext()
public RespectVM getVM()
getVM
in interface IRespectTC
public java.lang.Thread getVMThread()
public IRespectOperation in(IId id, LogicTuple t) throws OperationNotPossibleException
in
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operation the tuple argument of the
operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation in(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
in
in interface IRespectTC
id
- agent identifiert
- the tuple argument of the operation the tuplel
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inAll(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
inAll
in interface IRespectTC
id
- agent identifiert
- the tuple argument of the operation the tupleOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inAll(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
inAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operation the tuple argument of the
operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inp(IId id, LogicTuple t) throws OperationNotPossibleException
inp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operation the tuple argument of the
operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inp(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
inp
in interface IRespectTC
id
- agent identifiert
- the tuple argument of the operation the tuplel
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inpS(IId id, LogicTuple t) throws OperationNotPossibleException
inpS
in interface IRespectTC
id
- the identifier of who is invoking the operation the identifier
of who is invoking the operationt
- the tuple argument of the operation the tuple argument of the
operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inpS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
inpS
in interface IRespectTC
id
- the identifier of who is invoking the operation the identifier
of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inS(IId id, LogicTuple t) throws OperationNotPossibleException
inS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation inS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
inS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation no(IId id, LogicTuple t) throws OperationNotPossibleException
no
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation no(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
no
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation noAll(IId id, LogicTuple t) throws OperationNotPossibleException
noAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation noAll(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
noAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation nop(IId id, LogicTuple t) throws OperationNotPossibleException
nop
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation nop(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
nop
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation nopS(IId id, LogicTuple t) throws OperationNotPossibleException
nopS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation nopS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
nopS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation noS(IId id, LogicTuple t) throws OperationNotPossibleException
noS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation noS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
noS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation out(IId id, LogicTuple t) throws OperationNotPossibleException
out
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation out(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
out
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation outAll(IId id, LogicTuple t) throws OperationNotPossibleException
outAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation outAll(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
outAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation outS(IId id, LogicTuple t) throws OperationNotPossibleException
outS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation outS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
outS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rd(IId id, LogicTuple t) throws OperationNotPossibleException
rd
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rd(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
rd
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdAll(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
rdAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdAll(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
rdAll
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdp(IId id, LogicTuple t) throws OperationNotPossibleException
rdp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdp(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
rdp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdpS(IId id, LogicTuple t) throws OperationNotPossibleException
rdpS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdpS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
rdpS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdS(IId id, LogicTuple t) throws OperationNotPossibleException
rdS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation rdS(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
rdS
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation set(IId id, LogicTuple tuple) throws OperationNotPossibleException
set
in interface IRespectTC
id
- the identifier of who is invoking the operationtuple
- the tuple argument of the operationupleOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation set(IId id, LogicTuple tuple, OperationCompletionListener l) throws OperationNotPossibleException
IRespectTC
set
in interface IRespectTC
id
- the identifier of who is invoking the operationtuple
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation setS(IId aid, LogicTuple t) throws OperationNotPossibleException
setS
in interface IRespectTC
aid
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation setS(IId aid, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
setS
in interface IRespectTC
aid
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation setS(IId aid, RespectSpecification spec) throws InvalidSpecificationException
setS
in interface IRespectTC
aid
- the identifier of who is invoking the operationspec
- the ReSpecT specification argument of the operationInvalidSpecificationException
- if the given ReSpecT specification has syntactical errorspublic IRespectOperation setS(IId aid, RespectSpecification spec, OperationCompletionListener l) throws OperationNotPossibleException
setS
in interface IRespectTC
aid
- the identifier of who is invoking the operationspec
- the ReSpecT specification argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation spawn(IId id, LogicTuple t) throws OperationNotPossibleException
spawn
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation spawn(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
spawn
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uin(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
uin
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uin(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
uin
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uinp(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
uinp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uinp(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
uinp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uno(IId id, LogicTuple t) throws OperationNotPossibleException
uno
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation uno(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
uno
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation unop(IId id, LogicTuple t) throws OperationNotPossibleException
unop
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation unop(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
unop
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation urd(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
urd
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation urd(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
urd
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation urdp(IId id, LogicTuple t) throws OperationNotPossibleException
IRespectTC
urdp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationOperationNotPossibleException
- if the requested operation cannot be carried outpublic IRespectOperation urdp(IId id, LogicTuple t, OperationCompletionListener l) throws OperationNotPossibleException
urdp
in interface IRespectTC
id
- the identifier of who is invoking the operationt
- the tuple argument of the operationl
- the listener for operation completionOperationNotPossibleException
- if the requested operation cannot be carried out