public class ConfigDeviceStateStore extends Object implements DeviceStateStore
| Constructor and Description |
|---|
ConfigDeviceStateStore() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getRegisterValue(Register reg)
Return the stored register value for the given register.
|
boolean |
hasRegisterValue(Register reg)
Check if a stored register value for the given register is available.
|
void |
setRegisterValue(Register reg,
byte[] value)
Store the register value for the register.
|
public boolean hasRegisterValue(Register reg)
DeviceStateStorehasRegisterValue in interface DeviceStateStorereg - The register for which the value is required.public byte[] getRegisterValue(Register reg)
DeviceStateStoregetRegisterValue in interface DeviceStateStorereg - The register for which the value is required.public void setRegisterValue(Register reg, byte[] value)
DeviceStateStoresetRegisterValue in interface DeviceStateStorereg - The register for which the value is to be stored.value - The value to be stored.Copyright © 2015. All rights reserved.