public abstract class AbstractDicomService extends Object implements DicomService
Modifier and Type | Field and Description |
---|---|
private String[] |
sopClasses |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDicomService(String... sopClasses) |
Modifier and Type | Method and Description |
---|---|
String[] |
getSOPClasses() |
void |
onClose(Association as) |
protected abstract void |
onDimseRQ(Association as,
PresentationContext pc,
Dimse dimse,
Attributes cmd,
Attributes data) |
void |
onDimseRQ(Association as,
PresentationContext pc,
Dimse dimse,
Attributes cmd,
PDVInputStream data) |
private Attributes |
readDataset(PresentationContext pc,
PDVInputStream data) |
private final String[] sopClasses
protected AbstractDicomService(String... sopClasses)
public final String[] getSOPClasses()
getSOPClasses
in interface DicomService
public void onClose(Association as)
onClose
in interface DimseRQHandler
public void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes cmd, PDVInputStream data) throws IOException
onDimseRQ
in interface DimseRQHandler
IOException
private Attributes readDataset(PresentationContext pc, PDVInputStream data) throws IOException
IOException
protected abstract void onDimseRQ(Association as, PresentationContext pc, Dimse dimse, Attributes cmd, Attributes data) throws IOException
IOException
Copyright © 2017 dcm4che.org. All rights reserved.