sends a string to the serial port of this device concode_field_sep String switchItemName concode_elem_sep int baud concode_elem_sep String port concode_elem_sep String stringItemName concode_elem_sep InputStream inputStream concode_elem_sep SerialPort serialPort concode_elem_sep Logger logger concode_elem_sep OutputStream outputStream concode_elem_sep CommPortIdentifier portId concode_elem_sep EventPublisher eventPublisher concode_field_sep void unsetEventPublisher concode_elem_sep void serialEvent concode_elem_sep String getSwitchItemName concode_elem_sep String getPort concode_elem_sep void setSwitchItemName concode_elem_sep void setStringItemName concode_elem_sep void setEventPublisher concode_elem_sep String getStringItemName concode_elem_sep void initialize concode_elem_sep void close
void function ( String arg0 ) { logger . debug ( "srini_string" , new String [ ] { arg0 , port } ) ; try { outputStream . write ( arg0 . getBytes ( ) ) ; outputStream . flush ( ) ; } catch ( IOException loc0 ) { logger . error ( "srini_string" , new String [ ] { arg0 , port , loc0 . getMessage ( ) } ) ; } }