@Override public void onClose(Association as) { for (DimseRQHandler service : services.values()) service.onClose(as); }
void onDimseRQ(Association as, PresentationContext pc, Dimse cmd, Attributes cmdAttrs, PDVInputStream data) throws IOException { DimseRQHandler tmp = getDimseRQHandler(); if (tmp == null) { LOG.error("DimseRQHandler not initalized"); throw new AAbort(); } tmp.onDimseRQ(as, pc, cmd, cmdAttrs, data); }
void onDimseRQ(Association as, PresentationContext pc, Dimse cmd, Attributes cmdAttrs, PDVInputStream data) throws IOException { DimseRQHandler tmp = getDimseRQHandler(); if (tmp == null) { LOG.error("DimseRQHandler not initalized"); throw new AAbort(); } tmp.onDimseRQ(as, pc, cmd, cmdAttrs, data); }
@Override public void onClose(Association as) { for (DimseRQHandler service : services.values()) service.onClose(as); }
@Override public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes cmd, PDVInputStream data) throws IOException { try { lookupService(as, dimse, cmd).onDimseRQ(as, pc, dimse, cmd, data); } catch (DicomServiceException e) { Association.LOG.info("{}: processing {} failed. Caused by:\t", as, dimse.toString(cmd, pc.getPCID(), pc.getTransferSyntax()), e); Attributes rsp = e.mkRSP(dimse.commandFieldOfRSP(), cmd.getInt(Tag.MessageID, 0)); as.tryWriteDimseRSP(pc, rsp, e.getDataset()); } }
protected void onClose(Association as) { DimseRQHandler tmp = as.getApplicationEntity().getDimseRQHandler(); if (tmp != null) tmp.onClose(as); }
@Override public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes cmd, PDVInputStream data) throws IOException { try { lookupService(as, dimse, cmd).onDimseRQ(as, pc, dimse, cmd, data); } catch (DicomServiceException e) { Association.LOG.info("{}: processing {} failed. Caused by:\t", as, dimse.toString(cmd, pc.getPCID(), pc.getTransferSyntax()), e); Attributes rsp = e.mkRSP(dimse.commandFieldOfRSP(), cmd.getInt(Tag.MessageID, 0)); as.tryWriteDimseRSP(pc, rsp, e.getDataset()); } }
protected void onClose(Association as) { DimseRQHandler tmp = as.getApplicationEntity().getDimseRQHandler(); if (tmp != null) tmp.onClose(as); }