void function ( SerialPortEvent arg0 ) { if ( arg0 . getEventType ( ) == SerialPortEvent . DATA_AVAILABLE ) { try { String loc0 = serialInput . readLine ( ) ; handleIncomingMessage ( loc0 ) ; } catch ( IOException loc0 ) { logger . error ( "srini_string" , loc0 ) ; } } }
receives serial port events and reads serial port data concode_field_sep int baudRate concode_elem_sep Logger logger concode_elem_sep String serialPortName concode_elem_sep BufferedReader serialInput concode_elem_sep SerialPort serialPort concode_elem_sep DSCAlarmConnectorType connectorType concode_elem_sep OutputStreamWriter serialOutput concode_elem_sep boolean connected concode_elem_sep List<DSCAlarmEventListener> _listeners concode_field_sep String read concode_elem_sep void removeEventListener concode_elem_sep void setSerialEventHandler concode_elem_sep DSCAlarmConnectorType getConnectorType concode_elem_sep boolean isConnected concode_elem_sep void handleIncomingMessage concode_elem_sep String readLine concode_elem_sep void write concode_elem_sep void close concode_elem_sep void open concode_elem_sep void addEventListener