net.wimpi.modbus.procimg
Interface DigitalOut

All Known Implementing Classes:
ObservableDigitalOut, SimpleDigitalOut

public interface DigitalOut

Interface defining a digital output.

In Modbus terms this represents a coil, which is read-write from slave and master or device side.
Therefor implementations have to be carefully designed for concurrency.

Version:
@version@ (@date@)
Author:
Dieter Wimberger

Method Summary
 boolean isSet()
          Tests if this DigitalOut is set.
 void set(boolean b)
          Sets the state of this DigitalOut.
 

Method Detail

isSet

boolean isSet()
Tests if this DigitalOut is set.

Returns:
true if set, false otherwise.

set

void set(boolean b)
Sets the state of this DigitalOut.

Parameters:
b - true if to be set, false otherwise.


Copyright © 2010. All Rights Reserved.