protected void cstore(Association storeas, T inst, String tsuid, DataWriter dataWriter) throws IOException, InterruptedException { DimseRSPHandler rspHandler = new CStoreRSPHandler(storeas.nextMessageID(), inst); if (isCMove()) storeas.cstore(inst.cuid, inst.iuid, priority, rqas.getRemoteAET(), msgId, dataWriter, tsuid, rspHandler); else storeas.cstore(inst.cuid, inst.iuid, priority, dataWriter, tsuid, rspHandler); synchronized (outstandingRSPLock) { outstandingRSP++; } }
protected void cstore(Association storeas, T inst, String tsuid, DataWriter dataWriter) throws IOException, InterruptedException { DimseRSPHandler rspHandler = new CStoreRSPHandler(storeas.nextMessageID(), inst); if (isCMove()) storeas.cstore(inst.cuid, inst.iuid, priority, rqas.getRemoteAET(), msgId, dataWriter, tsuid, rspHandler); else storeas.cstore(inst.cuid, inst.iuid, priority, dataWriter, tsuid, rspHandler); synchronized (outstandingRSPLock) { outstandingRSP++; } }