Package serialComms.jserialcomm
Interface PJSerialLineListener
public interface PJSerialLineListener
- 
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever a complete line has been read from the serial port.voidCalled when port is closed / reading stops.voidCalled 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.
 
 -