public void invoke(PresentationContext pc, Attributes cmd, DataWriter data, DimseRSPHandler rspHandler, int rspTimeout, boolean stopOnPending) throws IOException, InterruptedException { stopTimeout(); checkException(); rspHandler.setPC(pc); addDimseRSPHandler(rspHandler); encoder.writeDIMSE(pc, cmd, data); startTimeout(rspHandler.getMessageID(), rspTimeout, stopOnPending); }
public void invoke(PresentationContext pc, Attributes cmd, DataWriter data, DimseRSPHandler rspHandler, int rspTimeout, boolean stopOnPending) throws IOException, InterruptedException { stopTimeout(); checkException(); rspHandler.setPC(pc); addDimseRSPHandler(rspHandler); encoder.writeDIMSE(pc, cmd, data); startTimeout(rspHandler.getMessageID(), rspTimeout, stopOnPending); }