示例#1
0
 public EchoSCP(DicomConfiguration dicomConfiguration, String deviceName) throws Exception {
   init(dicomConfiguration.findDevice(deviceName));
   this.dicomConfiguration = dicomConfiguration;
   DicomServiceRegistry serviceRegistry = new DicomServiceRegistry();
   serviceRegistry.addDicomService(new BasicCEchoSCP());
   device.setDimseRQHandler(serviceRegistry);
   EchoSCP.instance = this;
 }
 @Override
 protected DicomServiceRegistry serviceRegistry() {
   DicomServiceRegistry services = super.serviceRegistry();
   services.addDicomService(storeSCP);
   services.addDicomService(stgCmtSCP);
   services.addDicomService(mwlFindSCP);
   services.addDicomService(mppsSCP);
   services.addDicomService(patientRootFindSCP);
   services.addDicomService(studyRootFindSCP);
   services.addDicomService(patientStudyOnlyFindSCP);
   services.addDicomService(patientRootMoveSCP);
   services.addDicomService(studyRootMoveSCP);
   services.addDicomService(patientStudyOnlyMoveSCP);
   services.addDicomService(patientRootGetSCP);
   services.addDicomService(studyRootGetSCP);
   services.addDicomService(patientStudyOnlyGetSCP);
   services.addDicomService(withoutBulkDataGetSCP);
   return services;
 }