Class AppStateData

java.lang.Object
io.aether.api.smarthome.gui.state.AppStateData
All Implemented Interfaces:
io.aether.utils.ToString

public class AppStateData extends Object implements io.aether.utils.ToString
  • Field Details

    • META_BODY

      public static final io.aether.net.fastMeta.FastMetaType<AppStateData> META_BODY
    • META

      public static final io.aether.net.fastMeta.FastMetaType<AppStateData> META
    • pollingTimeoutMs

      protected final int pollingTimeoutMs
    • pollingBufferSize

      protected final int pollingBufferSize
    • targetDeviceId

      protected final int targetDeviceId
    • targetCommutatorUuid

      protected final String targetCommutatorUuid
    • knownCommutators

      protected final KnownCommutator[] knownCommutators
    • sensorHistory

      protected final SensorHistorySeries[] sensorHistory
    • rttMetrics

      protected final MetricPoint[] rttMetrics
    • totalRequests

      protected final int totalRequests
    • packetLossCount

      protected final int packetLossCount
    • visibleSensorKeys

      protected final String[] visibleSensorKeys
  • Constructor Details

    • AppStateData

      public AppStateData(int pollingTimeoutMs, int pollingBufferSize, int targetDeviceId, String targetCommutatorUuid, KnownCommutator[] knownCommutators, SensorHistorySeries[] sensorHistory, MetricPoint[] rttMetrics, int totalRequests, int packetLossCount, String[] visibleSensorKeys)
  • Method Details

    • getPollingTimeoutMs

      public int getPollingTimeoutMs()
    • getPollingBufferSize

      public int getPollingBufferSize()
    • getTargetDeviceId

      public int getTargetDeviceId()
    • getTargetCommutatorUuid

      public String getTargetCommutatorUuid()
    • getKnownCommutators

      public KnownCommutator[] getKnownCommutators()
    • knownCommutatorsContains

      public boolean knownCommutatorsContains(KnownCommutator el)
    • getSensorHistory

      public SensorHistorySeries[] getSensorHistory()
    • sensorHistoryContains

      public boolean sensorHistoryContains(SensorHistorySeries el)
    • getRttMetrics

      public MetricPoint[] getRttMetrics()
    • rttMetricsContains

      public boolean rttMetricsContains(MetricPoint el)
    • getTotalRequests

      public int getTotalRequests()
    • getPacketLossCount

      public int getPacketLossCount()
    • getVisibleSensorKeys

      public String[] getVisibleSensorKeys()
    • visibleSensorKeysContains

      public boolean visibleSensorKeysContains(String el)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public void toString(io.aether.utils.AString sb)
      Specified by:
      toString in interface io.aether.utils.ToString