org.dcm4che2.net
Class SingleDimseRSP

java.lang.Object
  extended by org.dcm4che2.net.SingleDimseRSP
All Implemented Interfaces:
DimseRSP

public class SingleDimseRSP
extends java.lang.Object
implements DimseRSP

Since:
Jan 22, 2006
Version:
$Revision: 513 $ $Date: 2006-02-02 12:33:00 +0100 (Thu, 02 Feb 2006) $
Author:
gunter zeilinger(gunterze@gmail.com)

Constructor Summary
SingleDimseRSP(DicomObject cmd)
           
SingleDimseRSP(DicomObject cmd, DicomObject data)
           
 
Method Summary
 void cancel(Association a)
          Cancel the operation, if this is a DIMSE action that can be cancelled (such as C-FIND).
 DicomObject getCommand()
          Get the response command object.
 DicomObject getDataset()
          Get the dataset contained within this response, null if there is no dataset.
 boolean next()
          Send the next response, returning false when complete.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleDimseRSP

public SingleDimseRSP(DicomObject cmd)

SingleDimseRSP

public SingleDimseRSP(DicomObject cmd,
                      DicomObject data)
Method Detail

next

public boolean next()
Description copied from interface: DimseRSP
Send the next response, returning false when complete.

Specified by:
next in interface DimseRSP
Returns:
boolean True if there are more responses to send.

getCommand

public final DicomObject getCommand()
Description copied from interface: DimseRSP
Get the response command object.

Specified by:
getCommand in interface DimseRSP
Returns:
DicomObject The command object.

getDataset

public final DicomObject getDataset()
Description copied from interface: DimseRSP
Get the dataset contained within this response, null if there is no dataset.

Specified by:
getDataset in interface DimseRSP
Returns:
DicomObject The dataset contained in this response, if any.

cancel

public void cancel(Association a)
Description copied from interface: DimseRSP
Cancel the operation, if this is a DIMSE action that can be cancelled (such as C-FIND).

Specified by:
cancel in interface DimseRSP
Parameters:
a - Association The active association object.


Copyright © 2011 dcm4che. All Rights Reserved.