Module com.fazecast.jSerialComm
Package com.fazecast.jSerialComm
Interface SerialPortMessageListenerWithExceptions
- All Superinterfaces:
EventListener,SerialPortDataListener,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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidMust be overridden to handle any Java exceptions that occur asynchronously in this data listener.Methods inherited from interface com.fazecast.jSerialComm.SerialPortDataListener
getListeningEvents, serialEventMethods inherited from interface com.fazecast.jSerialComm.SerialPortMessageListener
delimiterIndicatesEndOfMessage, getMessageDelimiter
-
Method Details
-
catchException
Must be overridden to handle any Java exceptions that occur asynchronously in this data listener.- Parameters:
e- AnExceptionobject containing information about the exception that occurred.
-