Package gov.nih.mipav.model.dicomcomm
Class DICOM_StdRetrieve
- java.lang.Object
-
- gov.nih.mipav.model.dicomcomm.DICOM_SOP
-
- gov.nih.mipav.model.dicomcomm.DICOM_StdRetrieve
-
public class DICOM_StdRetrieve extends DICOM_SOP
DICOM Retrieve SOP Class.
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/
-
-
Field Summary
Fields Modifier and Type Field Description DICOM_CRequest
cMoveRq
Move request object.DICOM_CResponse
cMoveRsp
Move response object.private int
MSG_ID
Uniquely identifies the current C-Move RQ
-
Constructor Summary
Constructors Constructor Description DICOM_StdRetrieve(java.lang.String UID)
This implements a DICOM Retrieve SOP Class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMsgID()
Returns the msgID for the outgoing C-Move Request.void
read(DICOM_PDUService pdu, DICOM_Object dco, DICOM_PDUService storePDU)
Read a C-MOVE request - this is used when acting like server and responding to a move request.void
setMsgID(int id)
Sets the msgID for the outgoing C-Move Request.void
write(DICOM_PDUService pdu, DICOM_Object ddo, byte[] localAppTitle, DICOM_Move dcmMove)
Transfers a C-MOVE request to a SCP.-
Methods inherited from class gov.nih.mipav.model.dicomcomm.DICOM_SOP
verifySOPClass
-
-
-
-
Field Detail
-
cMoveRq
public DICOM_CRequest cMoveRq
Move request object.
-
cMoveRsp
public DICOM_CResponse cMoveRsp
Move response object.
-
MSG_ID
private int MSG_ID
Uniquely identifies the current C-Move RQ
-
-
Method Detail
-
getMsgID
public int getMsgID()
Returns the msgID for the outgoing C-Move Request.- Returns:
- msgID uniquely identifies the current C-Move RQ
-
read
public void read(DICOM_PDUService pdu, DICOM_Object dco, DICOM_PDUService storePDU) throws DICOM_Exception
Read a C-MOVE request - this is used when acting like server and responding to a move request.- Parameters:
pdu
- DOCUMENT ME!dco
- DOCUMENT ME!storePDU
- DOCUMENT ME!- Throws:
DICOM_Exception
- DOCUMENT ME!
-
setMsgID
public void setMsgID(int id)
Sets the msgID for the outgoing C-Move Request.- Parameters:
id
- uniquely identifies the current C-Move RQ
-
write
public void write(DICOM_PDUService pdu, DICOM_Object ddo, byte[] localAppTitle, DICOM_Move dcmMove) throws DICOM_Exception
Transfers a C-MOVE request to a SCP.- Parameters:
pdu
- PDU objectddo
- DICOM data objectlocalAppTitle
- Appliation entity title of the local entitydcmMove
- DICOM move object - not used here- Throws:
DICOM_Exception
- DOCUMENT ME!
-
-