public class SystemStatus
extends java.lang.Object
Constructor and Description |
---|
SystemStatus(java.lang.String body)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getDelayBetweenOps()
Returns the number of milliseconds between each write operation
|
int |
getNumRemainingOps()
Returns the number of write operations remaining (max 256)
|
int |
getStatus()
Returns the status of the system which could of the
following values:
com.universaldevices.common.Constants#DEV_ST_INITIALIZING com.universaldevices.common.Constants#DEV_ST_QUERYING com.universaldevices.common.Constants#DEV_ST_SEARCHING com.universaldevices.common.Constants#DEV_ST_BUSY com.universaldevices.common.Constants#DEV_ST_READY |
boolean |
isInSafeMode() |
public SystemStatus(java.lang.String body)
The constructor is called as the result of a successful
UDProxyDevice.getSystemStatus
body
- UDProxyDevice
public int getDelayBetweenOps()
public int getNumRemainingOps()
public int getStatus()
com.universaldevices.common.Constants#DEV_ST_INITIALIZING
com.universaldevices.common.Constants#DEV_ST_QUERYING
com.universaldevices.common.Constants#DEV_ST_SEARCHING
com.universaldevices.common.Constants#DEV_ST_BUSY
com.universaldevices.common.Constants#DEV_ST_READY
Constants
public boolean isInSafeMode()