jamod at SF

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:
1.2rc1 (09/11/2004)
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

public boolean isSet()
Tests if this DigitalOut is set.

Returns:
true if set, false otherwise.

set

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

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

jamod at SF

Copyright © 2002-2004 jamod development team.