|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wimpi.modbus.procimg.SimpleDigitalOut
public class SimpleDigitalOut
Class implementing a simple DigitalOut.
The set method is synchronized, which ensures atomic access, but no specific access order.
Constructor Summary | |
---|---|
SimpleDigitalOut()
Constructs a new SimpleDigitalOut instance. |
|
SimpleDigitalOut(boolean b)
Constructs a new SimpleDigitalOut instance with the given state. |
Method Summary | |
---|---|
boolean |
isSet()
Tests if this DigitalOut is set. |
void |
set(boolean b)
Sets the state of this DigitalOut. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDigitalOut()
public SimpleDigitalOut(boolean b)
b
- true if set, false otherwise.Method Detail |
---|
public boolean isSet()
DigitalOut
isSet
in interface DigitalOut
public void set(boolean b)
DigitalOut
set
in interface DigitalOut
b
- true if to be set, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |