gnu.io.Zystem类的使用及代码示例

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

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

Zystem介绍

暂无

代码示例

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

public boolean reportln() {
  // boolean b;
  if (mode == NET_MODE) {
    // b= nativeNetReportln( "\n" );
    // return(b);
  }
  else if (mode == PRINT_MODE) {
    System.out.println();
    return (true);
  }
  else if (mode == MEX_MODE) {
    // b = nativeMexReportln( "\n" );
    // return(b);
  }
  else if (mode == SILENT_MODE) {
    return (true);
  }
  else if (mode == FILE_MODE) {
    filewrite("\n");
  }
  else if (mode == J2EE_MSG_MODE) {
    return (false);
  }
  return (false);
}

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

/** Finalize the port */
protected void finalize() {
  if (debug)
    z.reportln("RXTXPort:finalize()");
  if (fd > 0) {
    if (debug)
      z.reportln("RXTXPort:calling close()");
    close();
  }
  z.finalize();
}

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

public Zystem( int m ) throws UnSupportedLoggerException
{
  mode = m;
  startLogger( "asdf" );
}
/**

代码示例来源: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: 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

public boolean reportln(String s) {
  // boolean b;
  if (mode == NET_MODE) {
    // b= nativeNetReportln( s + "\n" );
    // return(b);
  }
  else if (mode == PRINT_MODE) {
    System.out.println(s);
    return (true);
  }
  else if (mode == MEX_MODE) {
    // b = nativeMexReportln( s + "\n" );
    // return(b);
  }
  else if (mode == SILENT_MODE) {
    return (true);
  }
  else if (mode == FILE_MODE) {
    filewrite(s + "\n");
  }
  else if (mode == J2EE_MSG_MODE) {
    return (false);
  }
  else if (mode == J2SE_LOG_MODE) {
    return (true);
  }
  return (false);
}

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

public Zystem( int m ) throws UnSupportedLoggerException
{
  mode = m;
  startLogger( "asdf" );
}
/**

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

/** Finalize the port */
protected void finalize()
{
  if (debug)
    z.reportln( "RXTXPort:finalize()");
  if( fd > 0 )
  {
    if (debug)
      z.reportln( "RXTXPort:calling close()");
    close();
  }
  z.finalize();
}

代码示例来源: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

filewrite( "\n" );

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

public Zystem( int m ) throws UnSupportedLoggerException
{
  mode = m;
  startLogger( "asdf" );
}
/**

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

/** Finalize the port */
protected void finalize()
{
  if (debug)
    z.reportln( "RXTXPort:finalize()");
  if( fd > 0 )
  {
    if (debug)
      z.reportln( "RXTXPort:calling close()");
    close();
  }
  z.finalize();
}

代码示例来源: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: com.neuronrobotics/nrjavaserial

filewrite( "\n" );

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

public Zystem(int m) throws UnSupportedLoggerException {
  mode = m;
  startLogger("asdf");
}

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

/** Finalize the port */
protected void finalize()
{
  if (debug)
    z.reportln( "RXTXPort:finalize()");
  if( fd > 0 )
  {
    if (debug)
      z.reportln( "RXTXPort:calling close()");
    close();
  }
  z.finalize();
}

代码示例来源: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.knowhowlab.comm/org.knowhowlab.comm.rxtx-patched

filewrite( "\n" );

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

mode = SILENT_MODE;
startLogger("asdf");

相关文章