z.reportln( "RXTXPort:SerialInputStream:read() called"); if ( fd == 0 ) throw new IOException(); if ( monThreadisInterrupted ) z.reportln( "+++++++++ read() monThreadisInterrupted" ); z.reportln( "RXTXPort:SerialInputStream:read() L" ); waitForTheNativeCodeSilly(); if (debug_read_results) z.reportln( "RXTXPort:SerialInputStream:read() N" ); try
z.reportln( "RXTXPort:SerialInputStream:read() called"); if ( fd == 0 ) throw new IOException(); if ( monThreadisInterrupted ) z.reportln( "+++++++++ read() monThreadisInterrupted" ); z.reportln( "RXTXPort:SerialInputStream:read() L" ); waitForTheNativeCodeSilly(); if (debug_read_results) z.reportln( "RXTXPort:SerialInputStream:read() N" ); int result = readByte(); if (debug_read_results)
z.reportln( "RXTXPort:SerialInputStream:read() called"); if ( fd == 0 ) throw new IOException(); if ( monThreadisInterrupted ) z.reportln( "+++++++++ read() monThreadisInterrupted" ); z.reportln( "RXTXPort:SerialInputStream:read() L" ); waitForTheNativeCodeSilly(); if (debug_read_results) z.reportln( "RXTXPort:SerialInputStream:read() N" ); int result = readByte(); if (debug_read_results)
z.reportln("RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln("RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln("RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException();
public synchronized void setSerialPortParams(int b, int d, int s, int p) throws UnsupportedCommOperationException { if (debug) z.reportln("RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") called"); if (nativeSetSerialPortParams(b, d, s, p)) throw new UnsupportedCommOperationException("Invalid Parameter"); speed = b; if (s == STOPBITS_1_5) dataBits = DATABITS_5; else dataBits = d; stopBits = s; parity = p; z.reportln("RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") returning"); }
z.reportln("RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln("RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln("RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException();
z.reportln("RXTXPort:removeEventListener() called"); waitForTheNativeCodeSilly(); z.reportln(" RXTXPort:removeEventListener() already interrupted"); monThread = null; SPEventListener = null; z.reportln(" RXTXPort:Interrupt=true"); monThreadisInterrupted = true; MonitorThreadAlive = false; monThreadisInterrupted = true; z.reportln("RXTXPort:removeEventListener() returning");
public synchronized void setSerialPortParams( int b, int d, int s, int p ) throws UnsupportedCommOperationException { if (debug) z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") called"); if ( nativeSetSerialPortParams( b, d, s, p ) ) throw new UnsupportedCommOperationException( "Invalid Parameter" ); speed = b; if( s== STOPBITS_1_5 ) dataBits = DATABITS_5; else dataBits = d; stopBits = s; parity = p; z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") returning"); }
public synchronized void setSerialPortParams( int b, int d, int s, int p ) throws UnsupportedCommOperationException { if (debug) z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") called"); if ( nativeSetSerialPortParams( b, d, s, p ) ) throw new UnsupportedCommOperationException( "Invalid Parameter" ); speed = b; if( s== STOPBITS_1_5 ) dataBits = DATABITS_5; else dataBits = d; stopBits = s; parity = p; z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") returning"); }
z.reportln( "RXTXPort:removeEventListener() called"); waitForTheNativeCodeSilly(); z.reportln( " RXTXPort:removeEventListener() already interrupted"); monThread = null; SPEventListener = null; z.reportln( " RXTXPort:Interrupt=true"); monThreadisInterrupted=true; MonitorThreadAlive=false; monThreadisInterrupted=true; z.reportln( "RXTXPort:removeEventListener() returning");
z.reportln( "RXTXPort:removeEventListener() called"); waitForTheNativeCodeSilly(); z.reportln( " RXTXPort:removeEventListener() already interrupted"); monThread = null; SPEventListener = null; z.reportln( " RXTXPort:Interrupt=true"); monThreadisInterrupted=true; MonitorThreadAlive=false; monThreadisInterrupted=true; z.reportln( "RXTXPort:removeEventListener() returning");
public synchronized void setSerialPortParams( int b, int d, int s, int p ) throws UnsupportedCommOperationException { if (debug) z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") called"); if ( nativeSetSerialPortParams( b, d, s, p ) ) throw new UnsupportedCommOperationException( "Invalid Parameter" ); speed = b; if( s== STOPBITS_1_5 ) dataBits = DATABITS_5; else dataBits = d; stopBits = s; parity = p; z.reportln( "RXTXPort:setSerialPortParams(" + b + " " + d + " " + s + " " + p + ") returning"); }
z.reportln( "RXTXPort:removeEventListener() called"); waitForTheNativeCodeSilly(); z.reportln( " RXTXPort:removeEventListener() already interrupted"); monThread = null; SPEventListener = null; z.reportln( " RXTXPort:Interrupt=true"); monThreadisInterrupted=true; z.reportln( " RXTXPort:calling gc()"); monThread = null; SPEventListener = null; MonitorThreadAlive=false; monThreadisInterrupted=true; z.reportln( "RXTXPort:removeEventListener() returning");
z.reportln( "RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException(); z.reportln( "RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException();
z.reportln( "RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException(); z.reportln( "RXTXPort:SerialInputStream:read() fd == 0"); z.reportln("+++++++ IOException()\n"); throw new IOException(); z.reportln("+++++++ NullPointerException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() b == 0"); throw new NullPointerException(); z.reportln("+++++++ IndexOutOfBoundsException()\n"); if (debug_read) z.reportln( "RXTXPort:SerialInputStream:read() off < 0 .."); throw new IndexOutOfBoundsException();