Class ClusterEvent

    • Constructor Detail

      • ClusterEvent

        public ClusterEvent​(ClusterEvent.Type type,
                            ControllerNode instance)
        Creates an event of a given type and for the specified instance and the current time.
        Parameters:
        type - cluster event type
        instance - cluster device subject
      • ClusterEvent

        public ClusterEvent​(ClusterEvent.Type type,
                            ControllerNode instance,
                            long time)
        Creates an event of a given type and for the specified device and time.
        Parameters:
        type - device event type
        instance - event device subject
        time - occurrence time
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object