jdcm
Class N_Get

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

public final class N_Get
extends DimseService

The N_Get class represents a N-GET 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
N_Get(A_Associate associate)
          Constructs a new N_Get object for a specified association.
 
Method Summary
 java.lang.String getAffectedSOPInstanceUID()
          Retrieve the value of the Affected SOP Instance UID attribute in the message's command set.
 java.lang.String[] getAttributeList()
           
 java.lang.String getRequestedSOPClassUID()
          Retrieve the value of the Requested SOP Class UID attribute in the message's command set.
 java.lang.String getRequestedSOPInstanceUID()
          Retrieve the value of the Requested SOP Instance UID attribute in the message's command set.
 DicomSet readRPS()
          Receive a DIMSE N-GET-RSP message from the association partner.
 DicomSet readRQ()
          Receive a DIMSE N-GET-RQ message from the association partner.
 void setAffectedSOPInstanceUID(java.lang.String affectedSOPInstanceUID)
          Sets the value of the Requested SOP Instance UID attribute in the message's command set.
 void setAttributeList(java.lang.String[] attributeList)
           
 void setRequestedSOPClassUID(java.lang.String requestedSOPClassUID)
          Sets the value of the Requested SOP Class UID attribute in the message's command set.
 void setRequestedSOPInstanceUID(java.lang.String requestedSOPInstanceUID)
          Sets the value of the Requested SOP Instance UID attribute in the message's command set.
 java.lang.String toString()
           
 void writeRPS(DicomSet dicomSet)
          Send a DIMSE N-GET-RSP message to the association partner.
 void writeRQ(DicomSet dicomSet)
          Send a DIMSE N-GET-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

N_Get

public N_Get(A_Associate associate)
Constructs a new N_Get object for a specified association.

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

setRequestedSOPInstanceUID

public void setRequestedSOPInstanceUID(java.lang.String requestedSOPInstanceUID)
Sets the value of the Requested SOP Instance UID attribute in the message's command set.

Parameters:
requestedSOPInstanceUID -

getRequestedSOPInstanceUID

public java.lang.String getRequestedSOPInstanceUID()
Retrieve the value of the Requested SOP Instance UID attribute in the message's command set.


setAttributeList

public void setAttributeList(java.lang.String[] attributeList)

getAttributeList

public java.lang.String[] getAttributeList()

setRequestedSOPClassUID

public void setRequestedSOPClassUID(java.lang.String requestedSOPClassUID)
Sets the value of the Requested SOP Class UID attribute in the message's command set.

Parameters:
requestedSOPClassUID -

getRequestedSOPClassUID

public java.lang.String getRequestedSOPClassUID()
Retrieve the value of the Requested SOP Class UID attribute in the message's command set.


setAffectedSOPInstanceUID

public void setAffectedSOPInstanceUID(java.lang.String affectedSOPInstanceUID)
Sets the value of the Requested SOP Instance UID attribute in the message's command set.

Parameters:
affectedSOPInstanceUID -

getAffectedSOPInstanceUID

public java.lang.String getAffectedSOPInstanceUID()
Retrieve the value of the Affected SOP Instance UID attribute in the message's command set.


readRQ

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

Returns:
data set the DIMSE message received
Throws:
java.io.IOException

writeRPS

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

Parameters:
dicomSet - data set in the DIMSE Message
Throws:
java.io.IOException

writeRQ

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

Parameters:
dicomSet -
Throws:
java.io.IOException

readRPS

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

Returns:
dicomSet data set in received DIMSE message
Throws:
java.io.IOException

toString

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