public void open() throws IOException, IncompatibleConnectionException, GeneralSecurityException { sock = conn.connect(remote); sock.setSoTimeout(conn.getResponseTimeout()); mllp = new MLLPConnection(sock); }
public void open() throws IOException, IncompatibleConnectionException, GeneralSecurityException { sock = conn.connect(remote); sock.setSoTimeout(conn.getResponseTimeout()); mllp = new MLLPConnection(sock); }
public void open() throws IOException, IncompatibleConnectionException, GeneralSecurityException { sock = conn.connect(remote); sock.setSoTimeout(conn.getResponseTimeout()); mllp = new MLLPConnection(sock); }
public MLLPConnection connect(Connection local, Connection remote) throws IOException, IncompatibleConnectionException, GeneralSecurityException { checkDevice(); checkInstalled(); Socket sock = local.connect(remote); sock.setSoTimeout(local.getResponseTimeout()); return new MLLPConnection(sock); }
public void cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(cuid, tsuid); Attributes cstorerq = Commands.mkCStoreRQ(rspHandler.getMessageID(), cuid, iuid, priority, moveOriginatorAET, moveOriginatorMsgId); invoke(pc, cstorerq, data, rspHandler, conn.getResponseTimeout()); }
public void cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(cuid, tsuid); Attributes cstorerq = Commands.mkCStoreRQ(rspHandler.getMessageID(), cuid, iuid, priority, moveOriginatorAET, moveOriginatorMsgId); invoke(pc, cstorerq, data, rspHandler, conn.getResponseTimeout()); }
public void nget(String asuid, String cuid, String iuid, int[] tags, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, null); checkIsSCU(cuid); Attributes ngetrq = Commands.mkNGetRQ(rspHandler.getMessageID(), cuid, iuid, tags); invoke(pc, ngetrq, null, rspHandler, conn.getResponseTimeout()); }
public void ndelete(String asuid, String cuid, String iuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, null); checkIsSCU(cuid); Attributes ndeleterq = Commands.mkNDeleteRQ(rspHandler.getMessageID(), cuid, iuid); invoke(pc, ndeleterq, null, rspHandler, conn.getResponseTimeout()); }
public void nget(String asuid, String cuid, String iuid, int[] tags, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, null); checkIsSCU(cuid); Attributes ngetrq = Commands.mkNGetRQ(rspHandler.getMessageID(), cuid, iuid, tags); invoke(pc, ngetrq, null, rspHandler, conn.getResponseTimeout()); }
public void cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(cuid, tsuid); checkIsSCU(cuid); Attributes cstorerq = Commands.mkCStoreRQ(rspHandler.getMessageID(), cuid, iuid, priority); invoke(pc, cstorerq, data, rspHandler, conn.getResponseTimeout()); }
public void cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(cuid, tsuid); checkIsSCU(cuid); Attributes cstorerq = Commands.mkCStoreRQ(rspHandler.getMessageID(), cuid, iuid, priority); invoke(pc, cstorerq, data, rspHandler, conn.getResponseTimeout()); }
public void nset(String asuid, String cuid, String iuid, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCU(cuid); Attributes nsetrq = Commands.mkNSetRQ(rspHandler.getMessageID(), cuid, iuid); invoke(pc, nsetrq, data, rspHandler, conn.getResponseTimeout()); }
public void neventReport(String asuid, String cuid, String iuid, int eventTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCP(cuid); Attributes neventrq = Commands.mkNEventReportRQ(rspHandler.getMessageID(), cuid, iuid, eventTypeId, data); invoke(pc, neventrq, DataWriterAdapter.forAttributes(data), rspHandler, conn.getResponseTimeout()); }
public void naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCU(cuid); Attributes nactionrq = Commands.mkNActionRQ(rspHandler.getMessageID(), cuid, iuid, actionTypeId, data); invoke(pc, nactionrq, DataWriterAdapter.forAttributes(data), rspHandler, conn.getResponseTimeout()); }
public void ncreate(String asuid, String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCU(cuid); Attributes ncreaterq = Commands.mkNCreateRQ(rspHandler.getMessageID(), cuid, iuid); invoke(pc, ncreaterq, DataWriterAdapter.forAttributes(data), rspHandler, conn.getResponseTimeout()); }
public void cfind(String cuid, int priority, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(cuid, tsuid); checkIsSCU(cuid); Attributes cfindrq = Commands.mkCFindRQ(rspHandler.getMessageID(), cuid, priority); invoke(pc, cfindrq, new DataWriterAdapter(data), rspHandler, conn.getResponseTimeout()); }
public void naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCU(cuid); Attributes nactionrq = Commands.mkNActionRQ(rspHandler.getMessageID(), cuid, iuid, actionTypeId, data); invoke(pc, nactionrq, DataWriterAdapter.forAttributes(data), rspHandler, conn.getResponseTimeout()); }
public void ncreate(String asuid, String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException { PresentationContext pc = pcFor(asuid, tsuid); checkIsSCU(cuid); Attributes ncreaterq = Commands.mkNCreateRQ(rspHandler.getMessageID(), cuid, iuid); invoke(pc, ncreaterq, DataWriterAdapter.forAttributes(data), rspHandler, conn.getResponseTimeout()); }
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; }