io
Class AbstractSerialDriver.Available
java.lang.Object
io.AbstractSerialDriver.Available
- All Implemented Interfaces:
- gnu.io.SerialPortEventListener, EventListener
- Enclosing class:
- AbstractSerialDriver
protected class AbstractSerialDriver.Available
- extends Object
- implements gnu.io.SerialPortEventListener
To catch the asynchroneous output, we use a serial event listener.
|
Field Summary |
private int |
count
Minimum number of bytes that have to be available for notify. |
private Object |
notify
The object we want to notify on. |
|
Method Summary |
void |
serialEvent(gnu.io.SerialPortEvent spe)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
count
private int count
- Minimum number of bytes that have to be available for notify.
notify
private Object notify
- The object we want to notify on.
AbstractSerialDriver.Available
protected AbstractSerialDriver.Available(int nr,
Object monitor)
serialEvent
public void serialEvent(gnu.io.SerialPortEvent spe)
- Specified by:
serialEvent in interface gnu.io.SerialPortEventListener