public class DicomServiceRegistry extends Object implements DimseRQHandler
Modifier and Type | Field and Description |
---|---|
private HashMap<String,DimseRQHandler> |
services |
Constructor and Description |
---|
DicomServiceRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addDicomService(DicomService service) |
void |
addDimseRQHandler(DimseRQHandler service,
String... sopClasses) |
private DimseRQHandler |
lookupService(Association as,
Dimse dimse,
Attributes cmd) |
void |
onClose(Association as) |
void |
onDimseRQ(Association as,
PresentationContext pc,
Dimse dimse,
Attributes cmd,
PDVInputStream data) |
void |
removeDicomService(DicomService service) |
void |
removeDimseRQHandler(String... sopClasses) |
private final HashMap<String,DimseRQHandler> services
public DicomServiceRegistry()
public void addDicomService(DicomService service)
public void addDimseRQHandler(DimseRQHandler service, String... sopClasses)
public void removeDicomService(DicomService service)
public void removeDimseRQHandler(String... sopClasses)
public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes cmd, PDVInputStream data) throws IOException
onDimseRQ
in interface DimseRQHandler
IOException
private DimseRQHandler lookupService(Association as, Dimse dimse, Attributes cmd) throws DicomServiceException
DicomServiceException
public void onClose(Association as)
onClose
in interface DimseRQHandler
Copyright © 2017 dcm4che.org. All rights reserved.