本文整理了Java中org.dcm4che3.net.Association.waitForOutstandingRSP()
方法的一些代码示例,展示了Association.waitForOutstandingRSP()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Association.waitForOutstandingRSP()
方法的具体详情如下:
包路径:org.dcm4che3.net.Association
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!