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; }
/** * Send C-FIND-RQ returning a {@code DimseRSP} which {@link DimseRSP#next()} blocks until the next C-FIND-RSP is * received. * * Reading C-FIND-RSPs from the association blocks, if the number of received C-FIND-RSP buffered * in the returned {@code DimseRSP} reached the specified {@code capacity}, until a buffered C-FIND-RSP is * removed by a call of {@link DimseRSP#next()}. * * @param cuid SOP Class UID associated with the operation * @param priority priority of the C-FIND operation. 0 = MEDIUM, 1 = HIGH, 2 = LOW * @param data Data Set that encodes the Identifier to be matched * @param tsuid Transfer Syntax used to encode the Identifier * @param autoCancel Number of pending C-FIND RSP after which a C-CANCEL-RQ will be sent * @param capacity Buffer size for received pending C-FIND-RSP * @return a {@code DimseRSP} which {@link DimseRSP#next()} blocks until the next C-FIND-RSP is received * @throws IOException if there is an error sending the C-FIND-RQ * @throws InterruptedException if any thread interrupted the current thread before or while the current * thread was waiting for other invoked operations getting completed */ public DimseRSP cfind(String cuid, int priority, Attributes data, String tsuid, int autoCancel, int capacity) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); rsp.setAutoCancel(autoCancel); rsp.setCapacity(capacity); cfind(cuid, priority, 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; }
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; }
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; }
/** * Send C-FIND-RQ returning a {@code DimseRSP} which {@link DimseRSP#next()} blocks until the next C-FIND-RSP is * received. * * Reading C-FIND-RSPs from the association blocks, if the number of received C-FIND-RSP buffered * in the returned {@code DimseRSP} reached the specified {@code capacity}, until a buffered C-FIND-RSP is * removed by a call of {@link DimseRSP#next()}. * * @param cuid SOP Class UID associated with the operation * @param priority priority of the C-FIND operation. 0 = MEDIUM, 1 = HIGH, 2 = LOW * @param data Data Set that encodes the Identifier to be matched * @param tsuid Transfer Syntax used to encode the Identifier * @param autoCancel Number of pending C-FIND RSP after which a C-CANCEL-RQ will be sent * @param capacity Buffer size for received pending C-FIND-RSP * @return a {@code DimseRSP} which {@link DimseRSP#next()} blocks until the next C-FIND-RSP is received * @throws IOException if there is an error sending the C-FIND-RQ * @throws InterruptedException if any thread interrupted the current thread before or while the current * thread was waiting for other invoked operations getting completed */ public DimseRSP cfind(String cuid, int priority, Attributes data, String tsuid, int autoCancel, int capacity) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); rsp.setAutoCancel(autoCancel); rsp.setCapacity(capacity); cfind(cuid, 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 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 ndelete(String asuid, String cuid, String iuid) throws IOException, InterruptedException { FutureDimseRSP rsp = new FutureDimseRSP(nextMessageID()); ndelete(asuid, cuid, iuid, 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; }
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 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 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 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 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; }