gnu.io.Zystem.reportln()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(10.3k)|赞(0)|评价(0)|浏览(77)

本文整理了Java中gnu.io.Zystem.reportln()方法的一些代码示例,展示了Zystem.reportln()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zystem.reportln()方法的具体详情如下:
包路径:gnu.io.Zystem
类名称:Zystem
方法名:reportln

Zystem.reportln介绍

暂无

代码示例

代码示例来源:origin: org.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

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

代码示例来源:origin: org.openmuc/jrxtx

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)

代码示例来源:origin: com.neuronrobotics/nrjavaserial

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)

代码示例来源:origin: NeuronRobotics/nrjavaserial

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)

代码示例来源:origin: org.openmuc/jrxtx

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();

代码示例来源:origin: org.openmuc/jrxtx

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");
}

代码示例来源:origin: org.openmuc/jrxtx

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();

代码示例来源:origin: org.openmuc/jrxtx

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");

代码示例来源:origin: org.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

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");
}

代码示例来源:origin: com.neuronrobotics/nrjavaserial

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");
}

代码示例来源:origin: com.neuronrobotics/nrjavaserial

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");

代码示例来源:origin: NeuronRobotics/nrjavaserial

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");

代码示例来源:origin: NeuronRobotics/nrjavaserial

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");
}

代码示例来源:origin: org.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

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");

代码示例来源:origin: org.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

z.reportln("IO is locked " + IOLocked);
  try {
    Thread.sleep(500);
  z.reportln(  "RXTXPort:close detected bad File Descriptor" );
  return;
setDSR(false);
if (debug)
  z.reportln( "RXTXPort:close( " + this.name + " ) setting monThreadisInterrupted"); 
if ( ! monThreadisInterrupted )

代码示例来源:origin: com.neuronrobotics/nrjavaserial

z.reportln("IO is locked " + IOLockedMutex.getReadLockCount());
    z.reportln(  "RXTXPort:close detected bad File Descriptor" );
    return;
setDSR(false);
if (debug)
    z.reportln( "RXTXPort:close( " + this.name + " ) setting monThreadisInterrupted"); 
if ( ! monThreadisInterrupted )

代码示例来源:origin: NeuronRobotics/nrjavaserial

z.reportln("IO is locked " + IOLockedMutex.getReadLockCount());
    z.reportln(  "RXTXPort:close detected bad File Descriptor" );
    return;
setDSR(false);
if (debug)
    z.reportln( "RXTXPort:close( " + this.name + " ) setting monThreadisInterrupted"); 
if ( ! monThreadisInterrupted )

代码示例来源:origin: org.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

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();

代码示例来源:origin: com.neuronrobotics/nrjavaserial

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();

代码示例来源:origin: org.openmuc/jrxtx

z.reportln("RXTXPort:close detected bad File Descriptor");
  return;
setDSR(false);
if (debug)
  z.reportln("RXTXPort:close( " + this.name + " ) setting monThreadisInterrupted");
if (!monThreadisInterrupted) {
  removeEventListener();

相关文章