public abstract class GuardCondition extends Object implements Condition
WaitSet
. This is accomplished by
attaching the GuardCondition to the WaitSet and then setting the
triggerValue by means of the setTriggerValue(boolean)
operation.Constructor and Description |
---|
GuardCondition() |
Modifier and Type | Method and Description |
---|---|
static GuardCondition |
newGuardCondition(ServiceEnvironment env) |
abstract void |
setTriggerValue(boolean value)
This operation sets the triggerValue of the GuardCondition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTriggerValue
getEnvironment
public static GuardCondition newGuardCondition(ServiceEnvironment env)
env
- Identifies the Service instance to which the new
object will belong.public abstract void setTriggerValue(boolean value)
WaitSet
objects' behavior depends on the changes of the
triggerValue of their attached conditions. Therefore, any WaitSet
to which the GuardCondition is attached is potentially affected by
this operation.Condition.getTriggerValue()
Copyright © 2014. All rights reserved.