Package com.blukii.sdk.config.datatype
Class CurrentConnectionParameter
java.lang.Object
com.blukii.sdk.config.datatype.CurrentConnectionParameter
This class represents data type
CurrentConnectionParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the interval.int
Gets the latency.int
Gets the timeout.void
setInterval
(int interval) Sets the 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
-
CurrentConnectionParameter
public CurrentConnectionParameter()
-
-
Method Details
-
getInterval
public int getInterval()Gets the interval.- Returns:
- the interval
-
setInterval
public void setInterval(int interval) Sets the interval.Values:
10 - 4000 ms
- Parameters:
interval
- the 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
-