public class LegacyRadiationDoseOCRDicomForwardingService
extends java.lang.Object
A class to wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to a pre-configured DICOM destination.
The class has no public methods other than the constructor and a main method that is useful as a utility.
Modifier and Type | Class and Description |
---|---|
protected class |
LegacyRadiationDoseOCRDicomForwardingService.OurReceivedObjectHandler |
protected class |
LegacyRadiationDoseOCRDicomForwardingService.ReceivedFileProcessor |
protected class |
LegacyRadiationDoseOCRDicomForwardingService.Series |
protected class |
LegacyRadiationDoseOCRDicomForwardingService.SeriesProcessor |
protected class |
LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue |
Modifier and Type | Field and Description |
---|---|
protected int |
debugLevel |
protected int |
networkDebugLevel |
protected java.lang.String |
ourAETitle |
protected LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue |
seriesQueue |
protected java.lang.String |
theirAETitle |
protected java.lang.String |
theirHost |
protected int |
theirPort |
protected static long |
TIMEOUT_BEFORE_CHECKING_FOR_WORK_MS |
protected static long |
TIMEOUT_BEFORE_PROCESSING_SERIES_MS |
Constructor and Description |
---|
LegacyRadiationDoseOCRDicomForwardingService(int ourPort,
java.lang.String ourAETitle,
java.lang.String theirHost,
int theirPort,
java.lang.String theirAETitle,
java.io.File savedImagesFolder,
int debugLevel)
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
|
LegacyRadiationDoseOCRDicomForwardingService(int ourPort,
java.lang.String ourAETitle,
java.lang.String theirHost,
int theirPort,
java.lang.String theirAETitle,
java.io.File savedImagesFolder,
int debugLevel,
int networkDebugLevel)
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] arg)
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
|
protected void |
sendSRFile(CTDose ctDose) |
protected static long TIMEOUT_BEFORE_PROCESSING_SERIES_MS
protected static long TIMEOUT_BEFORE_CHECKING_FOR_WORK_MS
protected int debugLevel
protected int networkDebugLevel
protected java.lang.String theirHost
protected int theirPort
protected java.lang.String theirAETitle
protected java.lang.String ourAETitle
protected LegacyRadiationDoseOCRDicomForwardingService.SeriesQueue seriesQueue
public LegacyRadiationDoseOCRDicomForwardingService(int ourPort, java.lang.String ourAETitle, java.lang.String theirHost, int theirPort, java.lang.String theirAETitle, java.io.File savedImagesFolder, int debugLevel) throws java.io.IOException
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
ourPort
- ourAETitle
- theirHost
- theirPort
- theirAETitle
- savedImagesFolder
- debugLevel
- java.io.IOException
public LegacyRadiationDoseOCRDicomForwardingService(int ourPort, java.lang.String ourAETitle, java.lang.String theirHost, int theirPort, java.lang.String theirAETitle, java.io.File savedImagesFolder, int debugLevel, int networkDebugLevel) throws java.io.IOException
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
ourPort
- ourAETitle
- theirHost
- theirPort
- theirAETitle
- savedImagesFolder
- debugLevel
- networkDebugLevel
- java.io.IOException
protected void sendSRFile(CTDose ctDose)
public static void main(java.lang.String[] arg)
Wait for incoming dose screen images, perform OCR to create Radiation Dose SRs and send RDSRs to specified DICOM destination.
arg
- array of six or strings - our port, our AE Title, their hostname, their port, their AE Title,
and the debugging level and optionally a network debugging level (if absent defaults to the master debugging level)