public DimseRSP cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cstore(cuid, iuid, priority, data, tsuid, rsp); return rsp; }
public DimseRSP cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cstore(cuid, iuid, priority, moveOriginatorAET, moveOriginatorMsgId, data, tsuid, rsp); return rsp; }
public DimseRSP cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cstore(cuid, iuid, priority, data, tsuid, rsp); return rsp; }
public DimseRSP cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cstore(cuid, iuid, priority, moveOriginatorAET, moveOriginatorMsgId, data, tsuid, rsp); return rsp; }
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++; } }
Decompressor.decompress(parsedDicomFile, filets); as.cstore(cuid, iuid, priority, new DataWriterAdapter(parsedDicomFile), ts, rspHandlerFactory.createDimseRSPHandler(f)); in.skip(fmiEndPos); InputStreamDataWriter data = new InputStreamDataWriter(in); as.cstore(cuid, iuid, priority, data, ts, rspHandlerFactory.createDimseRSPHandler(f)); } finally { Decompressor.decompress(data, filets); as.cstore(cuid, iuid, priority, new DataWriterAdapter(data), ts, rspHandlerFactory.createDimseRSPHandler(f));
Decompressor.decompress(parsedDicomFile, filets); as.cstore(cuid, iuid, priority, new DataWriterAdapter(parsedDicomFile), ts, rspHandlerFactory.createDimseRSPHandler(f)); in.skip(fmiEndPos); InputStreamDataWriter data = new InputStreamDataWriter(in); as.cstore(cuid, iuid, priority, data, ts, rspHandlerFactory.createDimseRSPHandler(f)); } finally { Decompressor.decompress(data, filets); as.cstore(cuid, iuid, priority, new DataWriterAdapter(data), ts, rspHandlerFactory.createDimseRSPHandler(f));