Class StateChangeEvent


  • public class StateChangeEvent
    extends Object
    • Constructor Detail

      • StateChangeEvent

        public StateChangeEvent​(long timestamp,
                                State newState,
                                State oldState)
        Creates a new StateChangeEvent instance.
        Parameters:
        timestamp - the new state timestamp.
        newState - the new State.
        oldState - the old State.
    • Method Detail

      • timestamp

        public long timestamp()
      • newState

        public State newState()
      • oldState

        public State oldState()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object