public class CFindSCU
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CFindSCU.ResponseHandler
Handler interface for receiving notifications when C-FIND response are received.
|
Constructor and Description |
---|
CFindSCU(AssociationIO associationIO,
int presentationContextID,
SOPClassUID sopClassUID)
create a new CFindSCU object on an open association.
|
Modifier and Type | Method and Description |
---|---|
void |
ccancelfind()
cancels the current C-FIND operation.
|
java.util.Collection |
cfind(DicomObject identifier,
int priority,
CFindSCU.ResponseHandler handler)
sends a C-FIND request and returns the response datasets as a Collection.
|
void |
close()
releases the association
|
AssociationIO |
getAssociationIO() |
protected JdtLogger log
public CFindSCU(AssociationIO associationIO, int presentationContextID, SOPClassUID sopClassUID)
associationIO
- AssociationIOpublic AssociationIO getAssociationIO()
public java.util.Collection cfind(DicomObject identifier, int priority, CFindSCU.ResponseHandler handler) throws SCUException, DicomException, java.io.IOException
identifier
- DicomObject the dataset against which matching is to be performedpriority
- int one of the Command.XXXX_PRIORITY constantshandler
- ResponseHandler may be nullSCUException
- -DicomException
- -java.io.IOException
- -public void ccancelfind() throws SCUException, DicomException, java.io.IOException
SCUException
DicomException
java.io.IOException
public void close() throws DicomException, java.io.IOException, PduException, SCUException
DicomException
java.io.IOException
PduException
SCUException