|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--de.wagner_ibw.iow.spi.AbstractSPIDevice
This is the abtract implementation of the SPIDevice interface.
| Constructor Summary | |
AbstractSPIDevice(java.lang.String name,
int flags)
|
|
| 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(AbstractIowDevice iow)
Sets the reference to an IO-Warrior device for write report operations. |
java.lang.String |
toString()
Returns the name of the spi device as String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractSPIDevice(java.lang.String name,
int flags)
| Method Detail |
public java.lang.String getName()
SPIDevice
getName in interface SPIDevicepublic void reportReceived(int[] readBuffer)
SPIDevice
reportReceived in interface SPIDevicereadBuffer - Read buffer from a received report.public void setIowDevice(AbstractIowDevice iow)
SPIDevice
setIowDevice in interface SPIDeviceiow - Instance of an IO-Warrior device.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||