Beispiel #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;
 }
Beispiel #2
0
 @Override
 public void reload() throws Exception {
   device.reconfigure(dicomConfiguration.findDevice(device.getDeviceName()));
 }