Package com.blukii.sdk.config.datatype
Class ConnectionParameter
java.lang.Object
com.blukii.sdk.config.datatype.ConnectionParameter
This class represents data type
ConnectionParameter
- See Also:
-
Blukii.readDelayedConnectionParameter(ResponseListener)
Blukii.writeDelayedConnectionParameter(ConnectionParameter, ResponseListener)
Blukii.writeCurrentConnectionParameter(ConnectionParameter, ResponseListener)
BlukiiAction.ReadDelayedConnectionParameter
BlukiiAction.WriteDelayedConnectionParameter
BlukiiAction.WriteCurrentConnectionParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the maximal interval.int
Gets the minimal interval.int
Gets the latency.int
Gets the timeout.void
setIntervalMax
(int intervalMax) Sets the maximal interval.void
setIntervalMin
(int intervalMin) Sets the minimal interval.void
setLatency
(int latency) Sets the latency.void
setTimeout
(int timeout) Sets the timeout.toString()
int
validate()
Validates the values contained in this object.
-
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
-
toString
-