Package serialComms.jserialcomm
Interface PJSerialLineListener
public interface PJSerialLineListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called whenever a complete line has been read from the serial port.void
Called when port is closed / reading stops.void
Called if an exception is thrown in the thread reading the serial port
-
Method Details
-
newLine
Called whenever a complete line has been read from the serial port. Lines end with either a carriage return or line feed.- Parameters:
aLine
-
-
portClosed
void portClosed()Called when port is closed / reading stops. -
readException
Called if an exception is thrown in the thread reading the serial port- Parameters:
e
- Exception.
-