Class StateImpl

java.lang.Object
com.sun.corba.se.impl.orbutil.fsm.NameBase
com.sun.corba.se.spi.orbutil.fsm.StateImpl
All Implemented Interfaces:
State

public class StateImpl extends NameBase implements State
Base class for all states in a StateEngine. This must be used as the base class for all states in transitions added to a StateEngine.
  • Constructor Details

    • StateImpl

      public StateImpl(String name)
  • Method Details

    • preAction

      public void preAction(FSM fsm)
      Description copied from interface: State
      Method that defines action that occurs whenever this state is entered. Any exceptions thrown by this method are ignored.
      Specified by:
      preAction in interface State
    • postAction

      public void postAction(FSM fsm)
      Description copied from interface: State
      Method that defines action that occurs whenever this state is exited. Any exceptions thrown by this method are ignored.
      Specified by:
      postAction in interface State
    • getDefaultNextState

      public State getDefaultNextState()
    • setDefaultNextState

      public void setDefaultNextState(State defaultNextState)
    • getDefaultAction

      public Action getDefaultAction()
    • setDefaultAction

      public void setDefaultAction(Action defaultAction)
    • addGuardedAction

      public void addGuardedAction(Input in, GuardedAction ga)
    • getGuardedActions

      public Set getGuardedActions(Input in)