Package com.fazecast.jSerialComm
Interface SerialPortMessageListenerWithExceptions
-
- All Superinterfaces:
EventListener,SerialPortDataListener,SerialPortMessageListener
public interface SerialPortMessageListenerWithExceptions extends SerialPortMessageListener
This interface must be implemented to enable delimited message reads using event-based serial port I/O with a custom Exception callback.Note: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcatchException(Exception e)Must be overridden to handle any Java exceptions that occur asynchronously in this data listener.-
Methods inherited from interface com.fazecast.jSerialComm.SerialPortDataListener
getListeningEvents, serialEvent
-
Methods inherited from interface com.fazecast.jSerialComm.SerialPortMessageListener
delimiterIndicatesEndOfMessage, getMessageDelimiter
-
-