UNKNOWN_NAME
Constructor and Description |
---|
SwitchProxy() |
Modifier and Type | Method and Description |
---|---|
void |
off()
Change the switch state to off.
|
void |
on()
Change the switch state to on.
|
getChildren, getDescriptor, getName, getParent
getReference, invoke, invokeBoolean, invokeByte, invokeChar, invokeDouble, invokeFloat, invokeInt, invokeLong, invokeRef, invokeShort
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getDescriptor, getName, getParent
public void off() throws IOException
Switch
off
in interface Switch
IOException
- if there is a communication error with the devicepublic void on() throws IOException
Switch
on
in interface Switch
IOException
- if there is a communication error with the device