Package com.blukii.sdk.config.datatype
Class StateCounter
java.lang.Object
com.blukii.sdk.config.datatype.StateCounter
This class represents data type
StateCounter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the connections count.int
Gets the authenticated connections count.int
Gets the factory data resets count.int
Gets the resets count.int
Gets the watchdog resets count.void
setConnections
(int connections) Sets the connections count.void
setConnectionsAuthenticated
(int connectionsAuthenticated) Sets the authenticated connections count.void
setFactoryResets
(int factoryResets) Sets the factory data resets count.void
setResets
(int resets) Sets the resets count.void
setWatchdogRequests
(int watchdogResets) Sets the watchdog resets count.toString()
int
validate()
Validates the values contained in this object.
-
Constructor Details
-
StateCounter
public StateCounter()
-
-
Method Details
-
getResets
public int getResets()Gets the resets count.- Returns:
- the resets count
-
setResets
public void setResets(int resets) Sets the resets count.- Parameters:
resets
- the resets count
-
getConnections
public int getConnections()Gets the connections count.- Returns:
- the connections count
-
setConnections
public void setConnections(int connections) Sets the connections count.- Parameters:
connections
- the connections count
-
getConnectionsAuthenticated
public int getConnectionsAuthenticated()Gets the authenticated connections count.- Returns:
- the authenticated connections count
-
setConnectionsAuthenticated
public void setConnectionsAuthenticated(int connectionsAuthenticated) Sets the authenticated connections count.- Parameters:
connectionsAuthenticated
- the authenticated connections count
-
getFactoryResets
public int getFactoryResets()Gets the factory data resets count.- Returns:
- the factory data resets count
-
setFactoryResets
public void setFactoryResets(int factoryResets) Sets the factory data resets count.- Parameters:
factoryResets
- the factory data resets count
-
getWatchdogResets
public int getWatchdogResets()Gets the watchdog resets count.- Returns:
- the watchdog resets count
-
setWatchdogRequests
public void setWatchdogRequests(int watchdogResets) Sets the watchdog resets count.- Parameters:
watchdogResets
- the watchdog resets count
-
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
-