de.wagner_ibw.iow.spi
Interface SPIDevice

All Known Implementing Classes:
AbstractSPIDevice

public interface SPIDevice

Each SPI device implementation must implements this interface.

Author:
Thomas Wagner

Method Summary
 java.lang.String getName()
          Returns the name of the spi device.
 void reportReceived(int[] readBuffer)
          Callback method is called when a matching report was received.
 void setIowDevice(AbstractIowDevcie iow)
          Sets the reference to an iow device for write report operations.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the spi device.

Returns:
Name of the spi device.

reportReceived

public void reportReceived(int[] readBuffer)
Callback method is called when a matching report was received.

Parameters:
readBuffer - Read buffer from a received report.

setIowDevice

public void setIowDevice(AbstractIowDevcie iow)
Sets the reference to an iow device for write report operations.

Parameters:
iow - Instance of an iow device.