Package gov.nih.mipav.model.dicomcomm
Class DICOM_Verification
java.lang.Object
gov.nih.mipav.model.dicomcomm.DICOM_Verification
This is the DICOM verification class that defines functions to perform Verification to a DICOM image file archive
such as the Kodak PACS image file server located in NIH's Clinical Center. ("Pings" the server)
This DICOM communication package was originally based on the Java Dicom Package, whose license is below:
This DICOM communication package was originally based on the Java Dicom Package, whose license is below:
Java Dicom Package (com.zmed.dicom) Copyright (c) 1996-1997 Z Medical Imaging Systems, Inc. This software is provided, as is, for non-commercial educational purposes only. Use or incorporation of this software or derivative works in commercial applications requires written consent from Z Medical Imaging Systems, Inc. Z MEDICAL IMAGING SYSTEMS MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR CONFORMANCE TO ANY SPECIFICATION OR STANDARD. Z MEDICAL IMAGING SYSTEMS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING OR MODIFYING THIS SOFTWARE OR ITS DERIVATIVES. ============================================================================= This software package is implemented similarly to the UC Davis public domain C++ DICOM implementation which contains the following copyright notice: Copyright (C) 1995, University of California, Davis THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND THE UNIVERSITY OF CALIFORNIA DOES NOT MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH THE USER. Copyright of the software and supporting documentation is owned by the University of California, and free access is hereby granted as a license to use this software, copy this software and prepare derivative works based upon this software. However, any distribution of this software source code or supporting documentation or derivative works (source code and supporting documentation) must include this copyright notice. The UC Davis C++ source code is publicly available from the following anonymous ftp site: ftp://imrad.ucdmc.ucdavis.edu/pub/dicom/UCDMC/
- Author:
- Sunita Munjal, Matthew McAuliffe, Ph.D.
-
Field Summary
FieldsModifier and TypeFieldDescriptionEcho request object.Echo response object.private final ViewJFrameDICOMQueryGUI frame where all DICOM messages are displayed.private DICOM_PDUServicePDU service object.private final StringThe remote servers AE title.Unique identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDICOM_Verification(String _remoteAETitle, ViewJFrameDICOMQuery _frame) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddisplayError(String error) Displays an error in a frame.voidread(DICOM_PDUService pdu, DICOM_Object dco) Reads the verification request and responds with (write) a ECHO_SUCESS.voidverify()Initiate verification of connection between client and server (i.e. ping).private voidVerifies the SOP class UID.voidwrite(DICOM_PDUService pdu) Writes the UID_Verification via the PDU service.
-
Field Details
-
cEchoRQ
Echo request object. -
cEchoRSP
Echo response object. -
UID
Unique identifier. -
frame
GUI frame where all DICOM messages are displayed. -
pdu
PDU service object. -
remoteAETitle
The remote servers AE title.
-
-
Constructor Details
-
DICOM_Verification
Constructor.- Parameters:
_remoteAETitle- remote(i.e. server) application entity title_frame- the frame where the update messages will be displayed
-
-
Method Details
-
read
Reads the verification request and responds with (write) a ECHO_SUCESS.- Parameters:
pdu- PDU service classdco- DICOM command object- Throws:
DICOM_Exception- DOCUMENT ME!
-
verify
public void verify()Initiate verification of connection between client and server (i.e. ping). -
write
Writes the UID_Verification via the PDU service.- Parameters:
pdu- PUD service class- Throws:
DICOM_Exception- DOCUMENT ME!
-
displayError
Displays an error in a frame.- Parameters:
error- string that is displayed
-
verifySOPClass
Verifies the SOP class UID.- Parameters:
dco- DICOM data object- Throws:
DICOM_Exception- DOCUMENT ME!
-