@Override public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes rq, Attributes rqAttrs) throws IOException { switch (dimse) { case N_CREATE_RQ: onNCreateRQ(as, pc, rq, rqAttrs); break; case N_SET_RQ: onNSetRQ(as, pc, rq, rqAttrs); break; default: throw new DicomServiceException(Status.UnrecognizedOperation); } }
protected void onNSetRQ(Association as, PresentationContext pc, Attributes rq, Attributes rqAttrs) throws IOException { Attributes rsp = Commands.mkNSetRSP(rq, Status.Success); Attributes rspAttrs = set(as, rq, rqAttrs, rsp); as.tryWriteDimseRSP(pc, rsp, rspAttrs); }
protected void onNCreateRQ(Association as, PresentationContext pc, Attributes rq, Attributes rqAttrs) throws IOException { Attributes rsp = Commands.mkNCreateRSP(rq, Status.Success); Attributes rspAttrs = create(as, rq, rqAttrs, rsp); as.tryWriteDimseRSP(pc, rsp, rspAttrs); }
BasicMPPSSCP.mayNoLongerBeUpdated();
protected void onNSetRQ(Association as, PresentationContext pc, Attributes rq, Attributes rqAttrs) throws IOException { Attributes rsp = Commands.mkNSetRSP(rq, Status.Success); Attributes rspAttrs = set(as, rq, rqAttrs, rsp); as.tryWriteDimseRSP(pc, rsp, rspAttrs); }
protected void onNCreateRQ(Association as, PresentationContext pc, Attributes rq, Attributes rqAttrs) throws IOException { Attributes rsp = Commands.mkNCreateRSP(rq, Status.Success); Attributes rspAttrs = create(as, rq, rqAttrs, rsp); as.tryWriteDimseRSP(pc, rsp, rspAttrs); }
@Override public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes rq, Attributes rqAttrs) throws IOException { switch (dimse) { case N_CREATE_RQ: onNCreateRQ(as, pc, rq, rqAttrs); break; case N_SET_RQ: onNSetRQ(as, pc, rq, rqAttrs); break; default: throw new DicomServiceException(Status.UnrecognizedOperation); } }