jdcm
Class C_Move

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

public final class C_Move
extends DimseService

The C_Move class represents a C-MOVE 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_Move(A_Associate associate)
          Constructs a new C-MOVE object for a specified association.
 
Method Summary
 java.lang.String getCstoreSubOp()
          Retrieve the destination DICOM Application Entity for which C-STORE sub-operations are being performed.
 int getSubOpCompletedSuccessfully()
          Retrieve the number of C-STORE sub-operations associated with this operation which have completed successfully.
 int getSubOpFailed()
          Retrieve the number of failed C-STORE sub-operations for the C-GET request being processed.
 int getSubOpRemaining()
          Retrieve the number of remaining C-STORE sub-operations yet to be invoked for the operation.
 int getSubOpWarnings()
          Retrieve the number of C-STORE sub-operations associated with this operation which have generated warning responses.
 DicomSet readRPS()
          Receive a DIMSE C-MOVE-RSP message from the association partner.
 DicomSet readRQ()
          Receive a DIMSE C-MOVE-RQ message from the association partner.
 void setCstoreSubOp(java.lang.String cstoreSubOp)
          Set the destination DICOM Application Entity for which C-STORE sub-operations are being performed.
 void setSubOpCompletedSuccessfully(int subOpCompletedSuccessfully)
          Set the number of C-STORE sub-operations associated with this operation which have completed successfully.
 void setSubOpFailed(int subOpFailed)
          Set the number of failed C-STORE sub-operations for the C-GET request being processed.
 void setSubOpRemaining(int subOpRemaining)
          Set the number of remaining C-STORE sub-operations yet to be invoked for the operation.
 void setSubOpWarnings(int subOpWarnings)
          Set the number of C-STORE sub-operations associated with this operation which have generated warning responses.
 java.lang.String toString()
           
 void writeRPS(DicomSet dicomSet)
          Send a DIMSE C-MOVE-RSP message to the association partner.
 void writeRQ(DicomSet dicomSet)
          Send a DIMSE C-MOVE-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_Move

public C_Move(A_Associate associate)
       throws java.io.IOException
Constructs a new C-MOVE 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

setSubOpCompletedSuccessfully

public void setSubOpCompletedSuccessfully(int subOpCompletedSuccessfully)
Set the number of C-STORE sub-operations associated with this operation which have completed successfully. This parameter is uded in C-MOVE-RSP message's command set.

Parameters:
subOpCompletedSuccessfully -

getSubOpCompletedSuccessfully

public int getSubOpCompletedSuccessfully()
Retrieve the number of C-STORE sub-operations associated with this operation which have completed successfully. This parameter is uded in C-MOVE-RSP message's command set.


setSubOpRemaining

public void setSubOpRemaining(int subOpRemaining)
Set the number of remaining C-STORE sub-operations yet to be invoked for the operation. This parameter is uded in C-MOVE-RSP message's command set.

Parameters:
subOpRemaining -

getSubOpRemaining

public int getSubOpRemaining()
Retrieve the number of remaining C-STORE sub-operations yet to be invoked for the operation. This parameter is uded in C-MOVE-RSP message's command set.


getSubOpFailed

public int getSubOpFailed()
Retrieve the number of failed C-STORE sub-operations for the C-GET request being processed. This parameter is uded in C-MOVE-RSP message's command set.


setSubOpFailed

public void setSubOpFailed(int subOpFailed)
Set the number of failed C-STORE sub-operations for the C-GET request being processed. This parameter is uded in C-MOVE-RSP message's command set.

Parameters:
subOpFailed -

setSubOpWarnings

public void setSubOpWarnings(int subOpWarnings)
Set the number of C-STORE sub-operations associated with this operation which have generated warning responses. This parameter is uded in C-MOVE-RSP message's command set.

Parameters:
subOpWarnings -

getSubOpWarnings

public int getSubOpWarnings()
Retrieve the number of C-STORE sub-operations associated with this operation which have generated warning responses. This parameter is uded in C-MOVE-RSP message's command set.


setCstoreSubOp

public void setCstoreSubOp(java.lang.String cstoreSubOp)
Set the destination DICOM Application Entity for which C-STORE sub-operations are being performed. This parameter is uded in C-MOVE-RQ message's command set.

Parameters:
cstoreSubOp -

getCstoreSubOp

public java.lang.String getCstoreSubOp()
Retrieve the destination DICOM Application Entity for which C-STORE sub-operations are being performed. This parameter is uded in C-MOVE-RQ message's command set.


readRQ

public DicomSet readRQ()
                throws java.io.IOException
Receive a DIMSE C-MOVE-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-MOVE-RSP message to the association partner.

Parameters:
dicomSet -
Throws:
java.io.IOException

readRPS

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

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

writeRQ

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

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

toString

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