Logo Search packages:      
Sourcecode: pixelmed version File versions  Download package

com::pixelmed::network::StorageSOPClassSCP Class Reference

Inheritance diagram for com::pixelmed::network::StorageSOPClassSCP:

com::pixelmed::dicom::SOPClass

List of all members.


Detailed Description

This class implements the SCP role of SOP Classes of the Storage Service Class, the Study Root Query Retrieve Information Model Find, Get and Move SOP Classes, and the Verification SOP Class.

The class has a constructor and a run() method. The constructor is passed a socket on which has been received a transport connection open indication. The run() method waits for an association to be initiated (i.e. acts as an association acceptor), then waits for storage or verification commands, storing data sets in Part 10 files in the specified folder.

Debugging messages with a varying degree of verbosity can be activated.

This class is not normally used directly, but rather is instantiated by the StorageSOPClassSCPDispatcher, which takes care of listening for transport connection open indications, and creates new threads and starts them to handle each incoming association request.

See also:
com.pixelmed.network.StorageSOPClassSCPDispatcher
Author:
dclunie

Definition at line 42 of file StorageSOPClassSCP.java.


Public Member Functions

void run ()
 StorageSOPClassSCP (Socket socket, String calledAETitle, int ourMaximumLengthReceived, int socketReceiveBufferSize, int socketSendBufferSize, File savedImagesFolder, StoredFilePathStrategy storedFilePathStrategy, ReceivedObjectHandler receivedObjectHandler, QueryResponseGeneratorFactory queryResponseGeneratorFactory, RetrieveResponseGeneratorFactory retrieveResponseGeneratorFactory, ApplicationEntityMap applicationEntityMap, PresentationContextSelectionPolicy presentationContextSelectionPolicy, int debugLevel) throws DicomNetworkException, DicomException, IOException

Static Public Member Functions

static final Set getSetOfStorageSOPClasses ()
static final boolean isCompositeInstanceQuery (String sopClassUID)
static final boolean isCompositeInstanceRetrieve (String sopClassUID)
static final boolean isCompositeInstanceRetrieveWithGet (String sopClassUID)
static final boolean isCompositeInstanceRetrieveWithMove (String sopClassUID)
static final boolean isDirectory (String sopClassUID)
static final boolean isEncapsulatedDocument (String sopClassUID)
static final boolean isImageStorage (String sopClassUID)
static final boolean isKeyObjectSelectionDocument (String sopClassUID)
static final boolean isMiscellaneousCompositeNonImageStorage (String sopClassUID)
static final boolean isMiscellaneousNonCompositeStorage (String sopClassUID)
static final boolean isMultiframeSecondaryCaptureImageStorage (String sopClassUID)
static final boolean isNonImageStorage (String sopClassUID)
static final boolean isOphthalmicRefractiveMeasurementStorage (String sopClassUID)
static final boolean isPatientRootCompositeInstanceQuery (String sopClassUID)
static final boolean isPatientRootCompositeInstanceRetrieve (String sopClassUID)
static final boolean isPatientRootCompositeInstanceRetrieveWithGet (String sopClassUID)
static final boolean isPatientRootCompositeInstanceRetrieveWithMove (String sopClassUID)
static final boolean isPatientStudyOnlyCompositeInstanceQuery (String sopClassUID)
static final boolean isPatientStudyOnlyCompositeInstanceRetrieve (String sopClassUID)
static final boolean isPatientStudyOnlyCompositeInstanceRetrieveWithGet (String sopClassUID)
static final boolean isPatientStudyOnlyCompositeInstanceRetrieveWithMove (String sopClassUID)
static final boolean isPresentationState (String sopClassUID)
static final boolean isPrivateImageStorage (String sopClassUID)
static final boolean isPrivateNonImageStorage (String sopClassUID)
static final boolean isRadiotherapy (String sopClassUID)
static final boolean isRawData (String sopClassUID)
static final boolean isSecondaryCaptureImageStorage (String sopClassUID)
static final boolean isSpectroscopy (String sopClassUID)
static final boolean isStandalone (String sopClassUID)
static final boolean isStandardImageStorage (String sopClassUID)
static final boolean isStructuredReport (String sopClassUID)
static final boolean isStudyRootCompositeInstanceQuery (String sopClassUID)
static final boolean isStudyRootCompositeInstanceRetrieve (String sopClassUID)
static final boolean isStudyRootCompositeInstanceRetrieveWithGet (String sopClassUID)
static final boolean isStudyRootCompositeInstanceRetrieveWithMove (String sopClassUID)
static final boolean isVerification (String sopClassUID)
static final boolean isWaveform (String sopClassUID)

Static Public Attributes

static final String AmbulatoryECGStorage = "1.2.840.10008.5.1.4.1.1.9.1.3"
static final String[] arrayOfQuerySOPClasses
static final String[] arrayOfRetrieveWithGetSOPClasses
static final String[] arrayOfRetrieveWithMoveSOPClasses
static final String[] arrayOfStorageSOPClasses
static final String ArterialPulseWaveformStorage = "1.2.840.10008.5.1.4.1.1.9.5.1"
static final String AutorefractionMeasurementsStorage = "1.2.840.10008.5.1.4.1.1.78.2"
static final String BasicStructuredDisplayStorage = "1.2.840.10008.5.1.4.1.1.131"
static final String BasicTextSRStorage = "1.2.840.10008.5.1.4.1.1.88.11"
static final String BasicVoiceStorage = "1.2.840.10008.5.1.4.1.1.9.4.1"
static final String BlendingSoftcopyPresentationStateStorage = "1.2.840.10008.5.1.4.1.1.11.4"
static final String BreastTomosynthesisImageStorage = "1.2.840.10008.5.1.4.1.1.13.1.3"
static final String CardiacElectrophysiologyWaveformStorage = "1.2.840.10008.5.1.4.1.1.9.3.1"
static final String ChestCADSRStorage = "1.2.840.10008.5.1.4.1.1.88.65"
static final String ColorPaletteInformationModelFind = "1.2.840.10008.39.2"
static final String ColorPaletteInformationModelGet = "1.2.840.10008.39.4"
static final String ColorPaletteInformationModelMove = "1.2.840.10008.39.3"
static final String ColorPaletteStorage = "1.2.840.10008.39.1"
static final String ColorSoftcopyPresentationStateStorage = "1.2.840.10008.5.1.4.1.1.11.2"
static final String ComprehensiveSRStorage = "1.2.840.10008.5.1.4.1.1.88.33"
static final String ComputedRadiographyImageStorage = "1.2.840.10008.5.1.4.1.1.1"
static final String CTImageStorage = "1.2.840.10008.5.1.4.1.1.2"
static final String DeformableSpatialRegistrationStorage = "1.2.840.10008.5.1.4.1.1.66.3"
static final String DigitalIntraoralXRayImageStorageForPresentation = "1.2.840.10008.5.1.4.1.1.1.3"
static final String DigitalIntraoralXRayImageStorageForProcessing = "1.2.840.10008.5.1.4.1.1.1.3.1"
static final String DigitalMammographyXRayImageStorageForPresentation = "1.2.840.10008.5.1.4.1.1.1.2"
static final String DigitalMammographyXRayImageStorageForProcessing = "1.2.840.10008.5.1.4.1.1.1.2.1"
static final String DigitalXRayImageStorageForPresentation = "1.2.840.10008.5.1.4.1.1.1.1"
static final String DigitalXRayImageStorageForProcessing = "1.2.840.10008.5.1.4.1.1.1.1.1"
static final String EncapsulatedCDAStorage = "1.2.840.10008.5.1.4.1.1.104.2"
static final String EncapsulatedPDFStorage = "1.2.840.10008.5.1.4.1.1.104.1"
static final String EnhancedCTImageStorage = "1.2.840.10008.5.1.4.1.1.2.1"
static final String EnhancedMRColorImageStorage = "1.2.840.10008.5.1.4.1.1.4.3"
static final String EnhancedMRImageStorage = "1.2.840.10008.5.1.4.1.1.4.1"
static final String EnhancedPETImageStorage = "1.2.840.10008.5.1.4.1.1.130"
static final String EnhancedSRStorage = "1.2.840.10008.5.1.4.1.1.88.22"
static final String EnhancedUSVolumeStorage = "1.2.840.10008.5.1.4.1.1.6.2"
static final String EnhancedXAImageStorage = "1.2.840.10008.5.1.4.1.1.12.1.1"
static final String EnhancedXRFImageStorage = "1.2.840.10008.5.1.4.1.1.12.2.1"
static final String GeneralAudioWaveformStorage = "1.2.840.10008.5.1.4.1.1.9.4.2"
static final String GeneralECGStorage = "1.2.840.10008.5.1.4.1.1.9.1.2"
static final String GrayscaleSoftcopyPresentationStateStorage = "1.2.840.10008.5.1.4.1.1.11.1"
static final String HemodynamicWaveformStorage = "1.2.840.10008.5.1.4.1.1.9.2.1"
static final String KeratometryMeasurementsStorage = "1.2.840.10008.5.1.4.1.1.78.3"
static final String KeyObjectSelectionDocumentStorage = "1.2.840.10008.5.1.4.1.1.88.59"
static final String LensometryMeasurementsStorage = "1.2.840.10008.5.1.4.1.1.78.1"
static final String MammographyCADSRStorage = "1.2.840.10008.5.1.4.1.1.88.50"
static final String MediaStorageDirectoryStorage = "1.2.840.10008.1.3.10"
static final String MRImageStorage = "1.2.840.10008.5.1.4.1.1.4"
static final String MRSpectroscopyStorage = "1.2.840.10008.5.1.4.1.1.4.2"
static final String MultiframeGrayscaleByteSecondaryCaptureImageStorage = "1.2.840.10008.5.1.4.1.1.7.2"
static final String MultiframeGrayscaleWordSecondaryCaptureImageStorage = "1.2.840.10008.5.1.4.1.1.7.3"
static final String MultiframeSingleBitSecondaryCaptureImageStorage = "1.2.840.10008.5.1.4.1.1.7.1"
static final String MultiframeTrueColorSecondaryCaptureImageStorage = "1.2.840.10008.5.1.4.1.1.7.4"
static final String NuclearMedicineImageStorage = "1.2.840.10008.5.1.4.1.1.20"
static final String NuclearMedicineImageStorageRetired = "1.2.840.10008.5.1.4.1.1.5"
static final String OphthalmicPhotography16BitImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.5.2"
static final String OphthalmicPhotography8BitImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.5.1"
static final String OphthalmicTomographyImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.5.4"
static final String PatientRootQueryRetrieveInformationModelFind = "1.2.840.10008.5.1.4.1.2.1.1"
static final String PatientRootQueryRetrieveInformationModelGet = "1.2.840.10008.5.1.4.1.2.1.3"
static final String PatientRootQueryRetrieveInformationModelMove = "1.2.840.10008.5.1.4.1.2.1.2"
static final String PatientStudyOnlyQueryRetrieveInformationModelFind = "1.2.840.10008.5.1.4.1.2.3.1"
static final String PatientStudyOnlyQueryRetrieveInformationModelGet = "1.2.840.10008.5.1.4.1.2.3.3"
static final String PatientStudyOnlyQueryRetrieveInformationModelMove = "1.2.840.10008.5.1.4.1.2.3.2"
static final String PETImageStorage = "1.2.840.10008.5.1.4.1.1.128"
static final String PrivateFujiCRImageStorage = "1.2.392.200036.9125.1.1.2"
static final String PrivateGE3DModelStorage = "1.2.840.113619.4.26"
static final String PrivateGEPETRawDataStorage = "1.2.840.113619.4.30"
static final String PrivateSiemensCSANonImageStorage = "1.3.12.2.1107.5.9.1"
static final String ProcedureLogStorage = "1.2.840.10008.5.1.4.1.1.88.40"
static final String PseudoColorSoftcopyPresentationStateStorage = "1.2.840.10008.5.1.4.1.1.11.3"
static final String RawDataStorage = "1.2.840.10008.5.1.4.1.1.66"
static final String RealWorldValueMappingStorage = "1.2.840.10008.5.1.4.1.1.67"
static final String RespiratoryWaveformStorage = "1.2.840.10008.5.1.4.1.1.9.6.1"
static final String RTBeamsTreatmentRecordStorage = "1.2.840.10008.5.1.4.1.1.481.4"
static final String RTBrachyTreatmentRecordStorage = "1.2.840.10008.5.1.4.1.1.481.6"
static final String RTDoseStorage = "1.2.840.10008.5.1.4.1.1.481.2"
static final String RTImageStorage = "1.2.840.10008.5.1.4.1.1.481.1"
static final String RTIonBeamsTreatmentRecordStorage = "1.2.840.10008.5.1.4.1.1.481.9"
static final String RTIonPlanStorage = "1.2.840.10008.5.1.4.1.1.481.8"
static final String RTPlanStorage = "1.2.840.10008.5.1.4.1.1.481.5"
static final String RTStructureSetStorage = "1.2.840.10008.5.1.4.1.1.481.3"
static final String RTTreatmentSummaryRecordStorage = "1.2.840.10008.5.1.4.1.1.481.7"
static final String SecondaryCaptureImageStorage = "1.2.840.10008.5.1.4.1.1.7"
static final String SegmentationStorage = "1.2.840.10008.5.1.4.1.1.66.4"
static final String SpatialFiducialsStorage = "1.2.840.10008.5.1.4.1.1.66.2"
static final String SpatialRegistrationStorage = "1.2.840.10008.5.1.4.1.1.66.1"
static final String SpectaclePrescriptionReportsStorage = "1.2.840.10008.5.1.4.1.1.78.6"
static final String StandaloneCurveStorage = "1.2.840.10008.5.1.4.1.1.9"
static final String StandaloneModalityLUTStorage = "1.2.840.10008.5.1.4.1.1.10"
static final String StandaloneOverlayStorage = "1.2.840.10008.5.1.4.1.1.8"
static final String StandalonePETCurveStorage = "1.2.840.10008.5.1.4.1.1.129"
static final String StandaloneVOILUTStorage = "1.2.840.10008.5.1.4.1.1.11"
static final String StereometricRelationshipStorage = "1.2.840.10008.5.1.4.1.1.77.1.5.3"
static final String StudyRootQueryRetrieveInformationModelFind = "1.2.840.10008.5.1.4.1.2.2.1"
static final String StudyRootQueryRetrieveInformationModelGet = "1.2.840.10008.5.1.4.1.2.2.3"
static final String StudyRootQueryRetrieveInformationModelMove = "1.2.840.10008.5.1.4.1.2.2.2"
static final String SubjectiveRefractionMeasurementsStorage = "1.2.840.10008.5.1.4.1.1.78.4"
static final String SurfaceSegmentationStorage = "1.2.840.10008.5.1.4.1.1.66.5"
static final String TwelveLeadECGStorage = "1.2.840.10008.5.1.4.1.1.9.1.1"
static final String UltrasoundImageStorage = "1.2.840.10008.5.1.4.1.1.6.1"
static final String UltrasoundImageStorageRetired = "1.2.840.10008.5.1.4.1.1.6"
static final String UltrasoundMultiframeImageStorage = "1.2.840.10008.5.1.4.1.1.3.1"
static final String UltrasoundMultiframeImageStorageRetired = "1.2.840.10008.5.1.4.1.1.3"
static final String Verification = "1.2.840.10008.1.1"
static final String VideoEndoscopicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.1.1"
static final String VideoMicroscopicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.2.1"
static final String VideoPhotographicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.4.1"
static final String VisibleLightDraftImageStorage = "1.2.840.10008.5.1.4.1.1.77.1"
static final String VisibleLightEndoscopicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.1"
static final String VisibleLightMicroscopicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.2"
static final String VisibleLightMultiFrameDraftImageStorage = "1.2.840.10008.5.1.4.1.1.77.2"
static final String VisibleLightPhotographicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.4"
static final String VisibleLightSlideCoordinatesMicroscopicImageStorage = "1.2.840.10008.5.1.4.1.1.77.1.3"
static final String VisualAcuityMeasurements = "1.2.840.10008.5.1.4.1.1.78.5"
static final String XAXRFGrayscaleSoftcopyPresentationStateStorage = "1.2.840.10008.5.1.4.1.1.11.5"
static final String XRay3DAngiographicImageStorage = "1.2.840.10008.5.1.4.1.1.13.1.1"
static final String XRay3DCraniofacialImageStorage = "1.2.840.10008.5.1.4.1.1.13.1.2"
static final String XRayAngiographicBiplaneImageStorage = "1.2.840.10008.5.1.4.1.1.12.3"
static final String XRayAngiographicImageStorage = "1.2.840.10008.5.1.4.1.1.12.1"
static final String XRayRadiationDoseSRStorage = "1.2.840.10008.5.1.4.1.1.88.67"
static final String XRayRadioFlouroscopicImageStorage = "1.2.840.10008.5.1.4.1.1.12.2"

Protected Attributes

StoredFilePathStrategy storedFilePathStrategy

Private Member Functions

boolean receiveAndProcessOneRequestMessage (Association association) throws AReleaseException, DicomNetworkException, DicomException, IOException

Private Attributes

ApplicationEntityMap applicationEntityMap
String calledAETitle
int debugLevel
int ourMaximumLengthReceived
PresentationContextSelectionPolicy presentationContextSelectionPolicy
QueryResponseGeneratorFactory queryResponseGeneratorFactory
ReceivedObjectHandler receivedObjectHandler
RetrieveResponseGeneratorFactory retrieveResponseGeneratorFactory
File savedImagesFolder
Socket socket
int socketReceiveBufferSize
int socketSendBufferSize

Static Private Attributes

static final String identString = "@(#) $Header: /userland/cvs/pixelmed/imgbook/com/pixelmed/network/StorageSOPClassSCP.java,v 1.62 2008/09/25 16:35:38 dclunie Exp $"

Classes

class  CompositeCommandReceivedPDUHandler

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index