jdcm
Class C_Find

java.lang.Object
  extended by jdcm.DimseService
      extended by jdcm.C_Find

public final class C_Find
extends DimseService

The C_Find class represents a C-FIND DIMSE service.

See Also:
DimseService

Field Summary
 
Fields inherited from class jdcm.DimseService
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, STATUS_FAILED, STATUS_PENDING, STATUS_SUCCESS
 
Constructor Summary
C_Find(A_Associate associate)
          Constructs a new C-FIND object for a specified association.
 
Method Summary
 DicomSet readRPS()
          Receive a DIMSE C-FIND-RSP message from the association partner.
 DicomSet readRQ()
          Receive a DIMSE C-FIND-RQ message from the association partner.
 java.lang.String toString()
           
 void writeRPS(DicomSet dicomSet)
          Send a DIMSE C-FIND-RSP message to the association partner.
 void writeRQ(DicomSet dicomSet)
          Send a DIMSE C-FIND-RQ message to the association partner.
 
Methods inherited from class jdcm.DimseService
getAffectedSOPClassUID, getCommandField, getCommandRPS, getCommandRQ, getDicomSet, getMessageID, getMessageIDBeingRespondedTo, getPresContextID, getPriority, getStatus, getTransferSyntaxUID, setAffectedSOPClassUID, setMessageID, setMessageIDBeingRespondedTo, setPresContextID, setPriority, setStatus, setTransferSyntaxUID, writeCancelRQ
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

C_Find

public C_Find(A_Associate associate)
       throws java.io.IOException
Constructs a new C-FIND object for a specified association.

Parameters:
associate - A not null A_Associate reference that represents an active association with a remote DICOM application entity.
Throws:
java.io.IOException
Method Detail

readRQ

public DicomSet readRQ()
                throws java.io.IOException
Receive a DIMSE C-FIND-RQ message from the association partner.

Returns:
contains a list of attributes to be matched.
Throws:
java.io.IOException

writeRPS

public void writeRPS(DicomSet dicomSet)
              throws java.io.IOException
Send a DIMSE C-FIND-RSP message to the association partner.

Parameters:
dicomSet - list of attributes.
Throws:
java.io.IOException

writeRQ

public void writeRQ(DicomSet dicomSet)
             throws java.io.IOException
Send a DIMSE C-FIND-RQ message to the association partner.

Parameters:
dicomSet - list of attributes to be matched.
Throws:
java.io.IOException

readRPS

public DicomSet readRPS()
                 throws java.io.IOException
Receive a DIMSE C-FIND-RSP message from the association partner.

Returns:
contains a list of attributes.
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class DimseService