public class CStoreSCPImpl extends BasicCStoreSCP
| Modifier and Type | Field and Description |
|---|---|
private DicomDirWriter |
dicomDirWriter |
private AttributesFormat |
filePathFormat |
private static Logger |
LOG |
private RecordFactory |
recordFactory |
private File |
storageDir |
| Constructor and Description |
|---|
CStoreSCPImpl(DicomDirWriter dicomDirWriter,
AttributesFormat filePathFormat,
RecordFactory recordFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addDicomDirRecords(Association as,
Attributes ds,
Attributes fmi,
File f) |
private static void |
deleteFile(Association as,
File file) |
private File |
getDestinationFile(Attributes attrs) |
private static Attributes |
parse(File file) |
private static void |
renameTo(Association as,
File from,
File dest) |
protected void |
store(Association as,
PresentationContext pc,
Attributes rq,
PDVInputStream data,
Attributes rsp) |
private static void |
storeTo(Association as,
Attributes fmi,
PDVInputStream data,
File file) |
onDimseRQ, onDimseRQgetSOPClasses, onCloseprivate final File storageDir
private final DicomDirWriter dicomDirWriter
private final RecordFactory recordFactory
private final AttributesFormat filePathFormat
public CStoreSCPImpl(DicomDirWriter dicomDirWriter, AttributesFormat filePathFormat, RecordFactory recordFactory)
protected void store(Association as, PresentationContext pc, Attributes rq, PDVInputStream data, Attributes rsp) throws IOException
store in class BasicCStoreSCPIOExceptionprivate static void storeTo(Association as, Attributes fmi, PDVInputStream data, File file) throws IOException
IOExceptionprivate File getDestinationFile(Attributes attrs)
private static void renameTo(Association as, File from, File dest) throws IOException
IOExceptionprivate static Attributes parse(File file) throws IOException
IOExceptionprivate static void deleteFile(Association as, File file)
protected boolean addDicomDirRecords(Association as, Attributes ds, Attributes fmi, File f) throws IOException
IOExceptionCopyright © 2017 dcm4che.org. All rights reserved.