public class InpS extends AbstractTucsonSpecificationAction
inp_s
TuCSoN primitive.SpecificationAsynchACC
event, guards, reaction
tcid, tupleCentreName
Constructor and Description |
---|
InpS(TucsonTupleCentreId tc,
LogicTuple e,
LogicTuple g,
LogicTuple r)
Builds the TuCSoN
inp_s action given its target tuple centre |
Modifier and Type | Method and Description |
---|---|
ITucsonOperation |
executeAsynch(EnhancedAsynchACC acc,
TucsonOperationCompletionListener listener)
Requests execution of this TuCSoN action in ASYNCHRONOUS mode, that is,
without blocking the caller until operation completion, regardless of the
operation suspensive/predicative semantics (e.g., a
in without
matching tuples does not cause blocking the caller agent) |
ITucsonOperation |
executeSynch(EnhancedSynchACC acc,
java.lang.Long timeout)
Requests execution of this TuCSoN action in SYNCHRONOUS mode, that is,
blocking the caller until operation completion (e.g., a
in
without matching tuples does cause blocking the caller agent). |
java.lang.String |
toString() |
public InpS(TucsonTupleCentreId tc, LogicTuple e, LogicTuple g, LogicTuple r)
inp_s
action given its target tuple centretc
- the ID of the TuCSoN tuple centre target of this coordination
operatione
- the logic tuple representing the triggering event of the
ReSpecT specification tupleg
- the logic tuple representing the guards of the ReSpecT
specification tupler
- the logic tuple representing the reaction body of the ReSpecT
specification tuplepublic ITucsonOperation executeAsynch(EnhancedAsynchACC acc, TucsonOperationCompletionListener listener) throws TucsonOperationNotPossibleException, UnreachableNodeException
AbstractTucsonAction
in
without
matching tuples does not cause blocking the caller agent)executeAsynch
in class AbstractTucsonAction
acc
- the TuCSoN ACC in charge of action executionlistener
- the TuCSoN listener responsible for handling completion
notificationsTucsonOperationNotPossibleException
- if the coordination operation request cannot be carried outUnreachableNodeException
- if the target TuCSoN node is not available on the networkpublic ITucsonOperation executeSynch(EnhancedSynchACC acc, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
AbstractTucsonAction
in
without matching tuples does cause blocking the caller agent). This
method is mainly conceived for usage within TuCSoN4JADE bridge component:
see more at http://bitbucket.org/smariani/tucson4jadeexecuteSynch
in class AbstractTucsonAction
acc
- the TuCSoN ACC in charge of action executiontimeout
- the maximum timeout the caller is willing to waitTucsonOperationNotPossibleException
- if the coordination operation request cannot be carried outUnreachableNodeException
- if the target TuCSoN node is not available on the networkOperationTimeOutException
- if the chosen timeout elapses prior to completion
notificationpublic java.lang.String toString()
toString
in class AbstractTucsonSpecificationAction