Package io.github.frizman21.automaton
Interface PersistentActivity
Persistent activities are run within a thread upon entering a state.
- Author:
- Mike Frizzell
-
Method Summary
Modifier and TypeMethodDescriptionvoidkill()This function is called upon an event that causes a state transition.Methods inherited from interface io.github.frizman21.automaton.Activity
getName, setStateMachine
-
Method Details
-
kill
void kill()This function is called upon an event that causes a state transition. It is assumed that the thread running the run() function will be terminated upon completion of this function call. The StateMachine will forcable destroy the thread after this call.
-