@Override public DimseRSPHandler createDimseRSPHandler(final File f) { return new DimseRSPHandler(as.nextMessageID()) { @Override public void onDimseRSP(Association as, Attributes cmd, Attributes data) { super.onDimseRSP(as, cmd, data); StoreSCU.this.onCStoreRSP(cmd, f); } }; } };
@Override public DimseRSPHandler createDimseRSPHandlerForNSet() { return new DimseRSPHandler(as.nextMessageID()); } };
private void retrieve(Attributes keys) throws IOException, InterruptedException { DimseRSPHandler rspHandler = new DimseRSPHandler(as.nextMessageID()) { @Override public void onDimseRSP(Association as, Attributes cmd, Attributes data) { super.onDimseRSP(as, cmd, data); } }; as.cmove(model.cuid, priority, keys, null, destination, rspHandler); }
@SuppressWarnings("hiding") private void retrieve(Attributes keys) throws IOException, InterruptedException { DimseRSPHandler rspHandler = new DimseRSPHandler(as.nextMessageID()) { @Override public void onDimseRSP(Association as, Attributes cmd, Attributes data) { super.onDimseRSP(as, cmd, data); } }; as.cmove(model.cuid, priority, keys, null, destination, rspHandler); }
private void retrieve(Attributes keys) throws IOException, InterruptedException { DimseRSPHandler rspHandler = new DimseRSPHandler(as.nextMessageID()) { @Override public void onDimseRSP(Association as, Attributes cmd, Attributes data) { super.onDimseRSP(as, cmd, data); } }; retrieve (keys, rspHandler); }
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 ncreate(String asuid, String cuid, String iuid, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); ncreate(asuid, cuid, iuid, data, tsuid, rsp); return rsp; }
public DimseRSP ndelete(String asuid, String cuid, String iuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); ndelete(asuid, cuid, iuid, rsp); return rsp; }
public DimseRSP nget(String asuid, String cuid, String iuid, int[] tags) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); nget(asuid, cuid, iuid, tags, rsp); return rsp; }
public DimseRSP neventReport(String asuid, String cuid, String iuid, int eventTypeId, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); neventReport(asuid, cuid, iuid, eventTypeId, 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 cget(String cuid, int priority, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cget(cuid, priority, data, tsuid, rsp); return rsp; }
public DimseRSP ndelete(String asuid, String cuid, String iuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); ndelete(asuid, cuid, iuid, rsp); return rsp; }
private void sendIan(Attributes ian) throws IOException, InterruptedException { as.ncreate(UID.InstanceAvailabilityNotificationSOPClass, null, ian, null, new DimseRSPHandler(as.nextMessageID())); }
public DimseRSP cmove(String cuid, int priority, Attributes data, String tsuid, String destination) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); cmove(cuid, priority, data, tsuid, destination, rsp); return rsp; }
public DimseRSP neventReport(String asuid, String cuid, String iuid, int eventTypeId, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); neventReport(asuid, cuid, iuid, eventTypeId, data, tsuid, rsp); return rsp; }
public DimseRSP nset(String asuid, String cuid, String iuid, DataWriter data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); nset(asuid, cuid, iuid, data, tsuid, rsp); return rsp; }
public DimseRSP naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); naction(asuid, cuid, iuid, actionTypeId, data, tsuid, rsp); return rsp; }
public DimseRSP naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); naction(asuid, cuid, iuid, actionTypeId, data, tsuid, rsp); return rsp; }
public DimseRSP cecho(String cuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); PresentationContext pc = pcFor(cuid, null); checkIsSCU(cuid); Attributes cechorq = Commands.mkCEchoRQ(rsp.getMessageID(), cuid); invoke(pc, cechorq, null, rsp, conn.getResponseTimeout()); return rsp; }