org.dicom4j.network.dimse.messages
Class CEchoResponseMessage

java.lang.Object
  extended by org.dicom4j.network.dimse.messages.support.AbstractDimseMessage
      extended by org.dicom4j.network.dimse.messages.support.DimseMessageWithAffectedSOPClass
          extended by org.dicom4j.network.dimse.messages.support.DimseResponseMessage
              extended by org.dicom4j.network.dimse.messages.CEchoResponseMessage
All Implemented Interfaces:
DimseMessage

public class CEchoResponseMessage
extends DimseResponseMessage

C-ECHO-RSP

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
CEchoResponseMessage(CommandSet aCommandSet)
           
CEchoResponseMessage(int messageIDBeingRespondedTo, String affectedSOPClassUID, int aStatus)
           
 
Method Summary
 String getName()
          Return the name of the message
 void setStatus(int aStatus)
          set value for the status element. if success statu is provided, the ErrorComments value will be removed
 String toString()
           
 
Methods inherited from class org.dicom4j.network.dimse.messages.support.DimseResponseMessage
getAffectedSOPClassUID, getAffectedSOPInstanceUIDElement, getErrorComment, getErrorCommentElement, getStatus, getStatusElement, hasErrorCommentElement, hasStatusElement, hasSucces, isCanceled, isFailure, isPending, isPendingWithWarning, isSuccess, setAffectedSOPClassUID, setErrorComment, statusToString
 
Methods inherited from class org.dicom4j.network.dimse.messages.support.DimseMessageWithAffectedSOPClass
hasAffectedSOPClassUID
 
Methods inherited from class org.dicom4j.network.dimse.messages.support.AbstractDimseMessage
getCommandField, getCommandSet, getDataSet, getMessageID, getSopClassRegistry, isCEchoRequest, isCEchoResponse, isCFindRequest, removeDataSet, setCommandField, setDataSet, setSopClassRegistry
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CEchoResponseMessage

public CEchoResponseMessage(CommandSet aCommandSet)

CEchoResponseMessage

public CEchoResponseMessage(int messageIDBeingRespondedTo,
                            String affectedSOPClassUID,
                            int aStatus)
                     throws DicomException
Throws:
DicomException
Method Detail

getName

public String getName()
Description copied from class: AbstractDimseMessage
Return the name of the message

Specified by:
getName in interface DimseMessage
Overrides:
getName in class AbstractDimseMessage
Returns:
the name

setStatus

public void setStatus(int aStatus)
               throws DicomException
Description copied from class: DimseResponseMessage
set value for the status element. if success statu is provided, the ErrorComments value will be removed

Overrides:
setStatus in class DimseResponseMessage
Throws:
DicomException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 dicom4j. All Rights Reserved.