Class ConnectionParameter

java.lang.Object
com.blukii.sdk.config.datatype.ConnectionParameter

public final class ConnectionParameter extends Object
This class represents data type ConnectionParameter
See Also:
  • Constructor Details

    • ConnectionParameter

      public ConnectionParameter()
  • Method Details

    • getIntervalMin

      public int getIntervalMin()
      Gets the minimal interval.
      Returns:
      the minimal interval
    • setIntervalMin

      public void setIntervalMin(int intervalMin)
      Sets the minimal interval.

      Values:

      • 10 - 4000 ms
      Parameters:
      intervalMin - the minimal interval to set
    • getIntervalMax

      public int getIntervalMax()
      Gets the maximal interval.
      Returns:
      the maximal interval
    • setIntervalMax

      public void setIntervalMax(int intervalMax)
      Sets the maximal interval.

      Values:

      • 10 - 4000 ms
      Parameters:
      intervalMax - the maximal interval to set
    • getLatency

      public int getLatency()
      Gets the latency.
      Returns:
      the latency
    • setLatency

      public void setLatency(int latency)
      Sets the latency.

      Values:

      • 0 - 499 ms
      Parameters:
      latency - the latency to set
    • getTimeout

      public int getTimeout()
      Gets the timeout.
      Returns:
      the timeout
    • setTimeout

      public void setTimeout(int timeout)
      Sets the timeout.

      Values:

      • 100 - 32000 ms
      Parameters:
      timeout - the timeout to set
    • validate

      public int validate()
      Validates the values contained in this object.

      This can be used when you create an object, to verify the values set.

      Returns:
      a state from Validation
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object