Package com.sun.corba.se.spi.orbutil.fsm
Class Guard.Complement
java.lang.Object
com.sun.corba.se.impl.orbutil.fsm.NameBase
com.sun.corba.se.spi.orbutil.fsm.GuardBase
com.sun.corba.se.spi.orbutil.fsm.Guard.Complement
- All Implemented Interfaces:
Guard
- Enclosing interface:
- Guard
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.corba.se.spi.orbutil.fsm.Guard
Guard.Complement, Guard.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalled by the state engine to determine whether a transition is enabled, defered, or disabled.
-
Constructor Details
-
Complement
-
-
Method Details
-
evaluate
Description copied from interface:GuardCalled by the state engine to determine whether a transition is enabled, defered, or disabled. The result is interpreted as follows:- ENABLED if the transition is ready to proceed
- DISABLED if the transition is not ready to proceed
- DEFERED if the action associated with the transition is to be deferred. This means that the input will not be acted upon, but rather it will be saved for later execution. Typically this is implemented using a CondVar wait, and the blocked thread represents the defered input. The defered input is retried when the thread runs again.
-