org.dcm4che2.net
Interface DimseRSP

All Known Implementing Classes:
SingleDimseRSP

public interface DimseRSP

API contract for DIMSE response objects (FutureDimseRSP, MultiFindRSP, SingleDimseRSP).

Since:
Jan 22, 2006
Version:
$Revision: 673 $ $Date: 2006-08-07 07:11:16 +0200 (Mon, 07 Aug 2006) $
Author:
gunter zeilinger(gunterze@gmail.com)

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.
 

Method Detail

next

boolean next()
             throws java.io.IOException,
                    java.lang.InterruptedException
Send the next response, returning false when complete.

Returns:
boolean True if there are more responses to send.
Throws:
java.io.IOException - If there was a problem in the network interaction.
java.lang.InterruptedException - If the thread was interrupted.

getCommand

DicomObject getCommand()
Get the response command object.

Returns:
DicomObject The command object.

getDataset

DicomObject getDataset()
Get the dataset contained within this response, null if there is no dataset.

Returns:
DicomObject The dataset contained in this response, if any.

cancel

void cancel(Association a)
            throws java.io.IOException
Cancel the operation, if this is a DIMSE action that can be cancelled (such as C-FIND).

Parameters:
a - Association The active association object.
Throws:
java.io.IOException - If there was a problem in the network interaction.


Copyright © 2011 dcm4che. All Rights Reserved.