Interface DataPoint


public interface DataPoint
Interface for data points gathered by a protocol adapter. Instances of it can be created via DataPointFactory accessible via AdapterFactories in the ProtocolAdapterInput.
  • Method Details

    • getTagValue

      @NotNull @NotNull Object getTagValue()
      Returns:
      the tag value of the data point.
    • treatTagValueAsJson

      @NotNull default @org.jetbrains.annotations.NotNull boolean treatTagValueAsJson()
      Returns:
      if the tag value is encoded as JSON.
    • getTagName

      @NotNull @NotNull String getTagName()
      Returns:
      the tag name of the data point.