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