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 Detail

      • type

        Enum type()
        Return type of this StateEvent
        Returns:
        type of this StateEvent
      • data

        Object data()
        Return information object of this StateEvent
        Returns:
        information object of this StateEvent