Class TagChangeEvent

    • Constructor Detail

      • TagChangeEvent

        public TagChangeEvent​(TagPath path,
                              QualifiedValue value)
        Creates a new tag change event for the given tag.
      • TagChangeEvent

        public TagChangeEvent​(TagPath path,
                              QualifiedValue value,
                              int[] arrayIndexes)
        Creates a tag change event for the given tag, which is assumed to have an array value, and specifies which indexes of the array changed. If indexes are null, every value is assumed to have changed.
      • TagChangeEvent

        public TagChangeEvent​(TagPath path,
                              QualifiedValue value,
                              int[] arrayIndexes,
                              boolean initial)
    • Method Detail

      • isInitial

        public boolean isInitial()
        Indicates that this change event is the result of a new subscription- it is an artificial event to deliver the current value to a listener, it's not a true "change".
      • getTagPath

        public TagPath getTagPath()
      • getChangedArrayIndexes

        public int[] getChangedArrayIndexes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object