public interface SwitchWithReturnState extends Switch
Modifier and Type | Method and Description |
---|---|
int |
getLastKnownState()
Get the last known state of this device.
|
void |
requestStateUpdate()
Ask for this device's state to be updated.
|
int getLastKnownState()
void requestStateUpdate() throws java.io.IOException
java.io.IOException
- if there is a communication error with the device