com.pixelmed.network
Class VerificationSOPClassSCU

java.lang.Object
  extended by com.pixelmed.dicom.SOPClass
      extended by com.pixelmed.network.VerificationSOPClassSCU

public class VerificationSOPClassSCU
extends SOPClass

This class implements the SCU role of the Verification SOP Class.

The class has no methods other than the constructor (and a main method for testing). The constructor establishes an association, sends the C-ECHO request, and releases the association.

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

For example:

try {
    new VerificationSOPClassSCU("theirhost","104","ECHOSCP","ECHOSCU",0);
}
catch (Exception e) {
    e.printStackTrace(System.err);
}
 


Field Summary
 
Fields inherited from class com.pixelmed.dicom.SOPClass
AmbulatoryECGStorage, arrayOfQuerySOPClasses, arrayOfRetrieveWithGetSOPClasses, arrayOfRetrieveWithMoveSOPClasses, arrayOfStorageSOPClasses, BasicTextSRStorage, BasicVoiceStorage, BlendingSoftcopyPresentationStateStorage, CardiacElectrophysiologyWaveformStorage, ChestCADSRStorage, ColorSoftcopyPresentationStateStorage, ComprehensiveSRStorage, ComputedRadiographyImageStorage, CTImageStorage, DeformableSpatialRegistrationStorage, DigitalIntraoralXRayImageStorageForPresentation, DigitalIntraoralXRayImageStorageForProcessing, DigitalMammographyXRayImageStorageForPresentation, DigitalMammographyXRayImageStorageForProcessing, DigitalXRayImageStorageForPresentation, DigitalXRayImageStorageForProcessing, EncapsulatedCDAStorage, EncapsulatedPDFStorage, EnhancedCTImageStorage, EnhancedMRImageStorage, EnhancedSRStorage, EnhancedXAImageStorage, EnhancedXRFImageStorage, GeneralECGStorage, GrayscaleSoftcopyPresentationStateStorage, HemodynamicWaveformStorage, KeyObjectSelectionDocumentStorage, MammographyCADSRStorage, MediaStorageDirectoryStorage, MRImageStorage, MRSpectroscopyStorage, MultiframeGrayscaleByteSecondaryCaptureImageStorage, MultiframeGrayscaleWordSecondaryCaptureImageStorage, MultiframeSingleBitSecondaryCaptureImageStorage, MultiframeTrueColorSecondaryCaptureImageStorage, NuclearMedicineImageStorage, NuclearMedicineImageStorageRetired, OphthalmicPhotography16BitImageStorage, OphthalmicPhotography8BitImageStorage, OphthalmicTomographyImageStorage, PatientRootQueryRetrieveInformationModelFind, PatientRootQueryRetrieveInformationModelGet, PatientRootQueryRetrieveInformationModelMove, PatientStudyOnlyQueryRetrieveInformationModelFind, PatientStudyOnlyQueryRetrieveInformationModelGet, PatientStudyOnlyQueryRetrieveInformationModelMove, PETImageStorage, PrivateGE3DModelStorage, PrivateGEPETRawDataStorage, PrivateSiemensCSANonImageStorage, ProcedureLogStorage, PseudoColorSoftcopyPresentationStateStorage, RawDataStorage, RealWorldValueMappingStorage, RTBeamsTreatmentRecordStorage, RTBrachyTreatmentRecordStorage, RTDoseStorage, RTImageStorage, RTIonBeamsTreatmentRecordStorage, RTIonPlanStorage, RTPlanStorage, RTStructureSetStorage, RTTreatmentSummaryRecordStorage, SecondaryCaptureImageStorage, SpatialFiducialsStorage, SpatialRegistrationStorage, StandaloneCurveStorage, StandaloneModalityLUTStorage, StandaloneOverlayStorage, StandalonePETCurveStorage, StandaloneVOILUTStorage, StereometricRelationshipStorage, StudyRootQueryRetrieveInformationModelFind, StudyRootQueryRetrieveInformationModelGet, StudyRootQueryRetrieveInformationModelMove, TwelveLeadECGStorage, UltrasoundImageStorage, UltrasoundImageStorageRetired, UltrasoundMultiframeImageStorage, UltrasoundMultiframeImageStorageRetired, Verification, VideoEndoscopicImageStorage, VideoMicroscopicImageStorage, VideoPhotographicImageStorage, VisibleLightDraftImageStorage, VisibleLightEndoscopicImageStorage, VisibleLightMicroscopicImageStorage, VisibleLightMultiFrameDraftImageStorage, VisibleLightPhotographicImageStorage, VisibleLightSlideCoordinatesMicroscopicImageStorage, XRay3DAngiographicImageStorage, XRay3DCraniofacialImageStorage, XRayAngiographicBiplaneImageStorage, XRayAngiographicImageStorage, XRayRadiationDoseSRStorage, XRayRadioFlouroscopicImageStorage
 
Constructor Summary
VerificationSOPClassSCU(String hostname, int port, String calledAETitle, String callingAETitle, boolean secureTransport, int debugLevel)
          Establish an association to the specified AE, perform verification (send a C-ECHO request), and release the association.
 
Method Summary
static void main(String[] arg)
          For testing, establish an association to the specified AE and perform verification (send a C-ECHO request).
 
Methods inherited from class com.pixelmed.dicom.SOPClass
getSetOfStorageSOPClasses, isCompositeInstanceQuery, isCompositeInstanceRetrieve, isCompositeInstanceRetrieveWithGet, isCompositeInstanceRetrieveWithMove, isDirectory, isEncapsulatedDocument, isImageStorage, isKeyObjectSelectionDocument, isMiscellaneousNonImageStorage, isNonImageStorage, isPatientRootCompositeInstanceQuery, isPatientRootCompositeInstanceRetrieve, isPatientRootCompositeInstanceRetrieveWithGet, isPatientRootCompositeInstanceRetrieveWithMove, isPatientStudyOnlyCompositeInstanceQuery, isPatientStudyOnlyCompositeInstanceRetrieve, isPatientStudyOnlyCompositeInstanceRetrieveWithGet, isPatientStudyOnlyCompositeInstanceRetrieveWithMove, isPresentationState, isPrivateImageStorage, isPrivateNonImageStorage, isRadiotherapy, isRawData, isSpectroscopy, isStandalone, isStandardImageStorage, isStructuredReport, isStudyRootCompositeInstanceQuery, isStudyRootCompositeInstanceRetrieve, isStudyRootCompositeInstanceRetrieveWithGet, isStudyRootCompositeInstanceRetrieveWithMove, isVerification, isWaveform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerificationSOPClassSCU

public VerificationSOPClassSCU(String hostname,
                               int port,
                               String calledAETitle,
                               String callingAETitle,
                               boolean secureTransport,
                               int debugLevel)
                        throws DicomNetworkException,
                               DicomException,
                               IOException

Establish an association to the specified AE, perform verification (send a C-ECHO request), and release the association.

Parameters:
hostname - their hostname or IP address
port - their port
calledAETitle - their AE Title
callingAETitle - our AE Title
debugLevel - zero for no debugging messages, higher values more verbose messages
Throws:
IOException
DicomException
DicomNetworkException
Method Detail

main

public static void main(String[] arg)

For testing, establish an association to the specified AE and perform verification (send a C-ECHO request).

Parameters:
arg - array of four or five strings - their hostname, their port, their AE Title, our AE Title, and optionally a string flag valued SECURE