org.dcm4che3.net.Association.waitForOutstandingRSP()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(112)

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

Association.waitForOutstandingRSP介绍

暂无

代码示例

代码示例来源:origin: dcm4che/dcm4che

public void createMpps() throws IOException, InterruptedException {
  for (MppsWithIUID mppsWithUID : map.values())
    createMpps(mppsWithUID);
  as.waitForOutstandingRSP();
}

代码示例来源:origin: org.dcm4che.tool/dcm4che-tool-mppsscu

public void createMpps() throws IOException, InterruptedException {
  for (MppsWithIUID mppsWithUID : map.values())
    createMpps(mppsWithUID);
  as.waitForOutstandingRSP();
}

代码示例来源:origin: dcm4che/dcm4che

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
}

代码示例来源:origin: dcm4che/dcm4che

public void close() throws IOException, InterruptedException {
  if (as != null) {
    as.waitForOutstandingRSP();
    as.release();
    as.waitForSocketClose();
  }
}

代码示例来源:origin: dcm4che/dcm4che

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
}

代码示例来源:origin: org.dcm4che.tool/dcm4che-tool-getscu

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
}

代码示例来源:origin: org.dcm4che.tool/dcm4che-tool-mppsscu

public void close() throws IOException, InterruptedException {
  if (as != null) {
    as.waitForOutstandingRSP();
    as.release();
    as.waitForSocketClose();
  }
}

代码示例来源:origin: usnistgov/iheos-toolkit2

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
}

代码示例来源:origin: usnistgov/iheos-toolkit2

public void sendFiles() throws IOException {
  BufferedReader fileInfos = new BufferedReader(new InputStreamReader(
      new FileInputStream(tmpFile)));
  try {
    String line;
    while (as.isReadyForDataTransfer()
        && (line = fileInfos.readLine()) != null) {
      String[] ss = StringUtils.split(line, '\t');
      try {
        send(new File(ss[4]), Long.parseLong(ss[3]), ss[1], ss[0],
            ss[2]);
      } catch (Exception e) {
        e.printStackTrace();
      }
    }
    try {
      as.waitForOutstandingRSP();
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  } finally {
    SafeClose.close(fileInfos);
  }
}

代码示例来源:origin: dcm4che/dcm4che

public void sendFiles() throws IOException {
  BufferedReader fileInfos = new BufferedReader(new InputStreamReader(
      new FileInputStream(tmpFile)));
  try {
    String line;
    while (as.isReadyForDataTransfer()
        && (line = fileInfos.readLine()) != null) {
      String[] ss = StringUtils.split(line, '\t');
      try {
        send(new File(ss[4]), Long.parseLong(ss[3]), ss[1], ss[0],
            ss[2]);
      } catch (Exception e) {
        e.printStackTrace();
      }
    }
    try {
      as.waitForOutstandingRSP();
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  } finally {
    SafeClose.close(fileInfos);
  }
}

代码示例来源:origin: dcm4che/dcm4che

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
  SafeClose.close(out);
  out = null;
}

代码示例来源:origin: org.dcm4che.tool/dcm4che-tool-findscu

public void close() throws IOException, InterruptedException {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();
  }
  SafeClose.close(out);
  out = null;
}

代码示例来源:origin: dcm4che/dcm4che

public void close() throws IOException, InterruptedException {
  if (as != null) {
    if (as.isReadyForDataTransfer()) {
      as.waitForOutstandingRSP();
      if (keepAlive)
        waitForOutstandingResults();
      as.release();
    }
    as.waitForSocketClose();
  }
  waitForOutstandingResults();
}

代码示例来源:origin: org.dcm4che.tool/dcm4che-tool-stgcmtscu

public void close() throws IOException, InterruptedException {
  if (as != null) {
    if (as.isReadyForDataTransfer()) {
      as.waitForOutstandingRSP();
      if (keepAlive)
        waitForOutstandingResults();
      as.release();
    }
    as.waitForSocketClose();
  }
  waitForOutstandingResults();
}

代码示例来源:origin: nroduit/Weasis

} finally {
  if (as != null && as.isReadyForDataTransfer()) {
    as.waitForOutstandingRSP();
    as.release();

相关文章