public class InpS extends AbstractTucsonSpecificationAction
inp_s
TuCSoN primitive.event, guards, reaction
tcid, tupleCentreName
Constructor and Description |
---|
InpS(alice.tucson.api.TucsonTupleCentreId t,
alice.logictuple.LogicTuple e,
alice.logictuple.LogicTuple g,
alice.logictuple.LogicTuple r) |
Modifier and Type | Method and Description |
---|---|
alice.tucson.api.ITucsonOperation |
executeAsynch(alice.tucson.api.EnhancedAsynchACC acc,
alice.tucson.api.TucsonOperationCompletionListener listener) |
alice.tucson.api.ITucsonOperation |
executeSynch(alice.tucson.api.EnhancedSynchACC acc,
java.lang.Long timeout) |
java.lang.String |
toString() |
public InpS(alice.tucson.api.TucsonTupleCentreId t, alice.logictuple.LogicTuple e, alice.logictuple.LogicTuple g, alice.logictuple.LogicTuple r)
t
- the TuCSoN tuple centre id target of the 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 alice.tucson.api.ITucsonOperation executeAsynch(alice.tucson.api.EnhancedAsynchACC acc, alice.tucson.api.TucsonOperationCompletionListener listener) throws alice.tucson.api.exceptions.TucsonOperationNotPossibleException, alice.tucson.api.exceptions.UnreachableNodeException
executeAsynch
in class AbstractTucsonAction
acc
- the TuCSoN ACC ultimately in charge of action executionlistener
- the TuCSoN listener responsible for handling completion
notificationsalice.tucson.api.exceptions.TucsonOperationNotPossibleException
- if the coordination operation request cannot be carried outalice.tucson.api.exceptions.UnreachableNodeException
- if the target TuCSoN node is not available on the networkpublic alice.tucson.api.ITucsonOperation executeSynch(alice.tucson.api.EnhancedSynchACC acc, java.lang.Long timeout) throws alice.tucson.api.exceptions.TucsonOperationNotPossibleException, alice.tucson.api.exceptions.UnreachableNodeException, alice.tuplecentre.api.exceptions.OperationTimeOutException
executeSynch
in class AbstractTucsonAction
acc
- the TuCSoN ACC ultimately in charge of action executiontimeout
- the maximum timeout the caller is willing to waitalice.tucson.api.exceptions.TucsonOperationNotPossibleException
- if the coordination operation request cannot be carried outalice.tucson.api.exceptions.UnreachableNodeException
- if the target TuCSoN node is not available on the networkalice.tuplecentre.api.exceptions.OperationTimeOutException
- if the chosen timeout elapses prior to completion
notificationpublic java.lang.String toString()
toString
in class AbstractTucsonSpecificationAction