Package cn.sliew.milky.common.state
Interface StateEvent
-
- All Superinterfaces:
Comparable
public interface StateEvent extends Comparable
The Event class holds information about the different events that can be handled by the state machine. Events are prioritized depending on the importance of the event. The priority model tries to ensure that old messages are handled before any new ones.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectdata()Return information object of this StateEventEnumtype()Return type of this StateEvent-
Methods inherited from interface java.lang.Comparable
compareTo
-
-