public class RXTXEventBasedCommPort extends RXTXCommPort implements gnu.io.SerialPortEventListener
inputStream
Constructor and Description |
---|
RXTXEventBasedCommPort() |
Modifier and Type | Method and Description |
---|---|
void |
init(gnu.io.SerialPort serialPort) |
byte[] |
read() |
void |
serialEvent(gnu.io.SerialPortEvent event) |
public void init(gnu.io.SerialPort serialPort) throws java.util.TooManyListenersException
init
in class RXTXCommPort
java.util.TooManyListenersException
public byte[] read() throws java.io.IOException
read
in interface SerialCommunicationsPort
java.io.IOException
public void serialEvent(gnu.io.SerialPortEvent event)
serialEvent
in interface gnu.io.SerialPortEventListener