public class FutureDimseRSP extends DimseRSPHandler implements DimseRSP
Modifier and Type | Class and Description |
---|---|
private static class |
FutureDimseRSP.Entry |
Modifier and Type | Field and Description |
---|---|
private int |
autoCancel |
private FutureDimseRSP.Entry |
entry |
private IOException |
ex |
private boolean |
finished |
Constructor and Description |
---|
FutureDimseRSP(int msgID) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(Association a)
Cancel the operation, if this is a DIMSE action that can be cancelled
(such as C-FIND).
|
Attributes |
getCommand()
Get the response command object.
|
Attributes |
getDataset()
Get the dataset contained within this response, null if there is no
dataset.
|
boolean |
next()
Send the next response, returning false when complete.
|
void |
onClose(Association as) |
void |
onDimseRSP(Association as,
Attributes cmd,
Attributes data) |
void |
setAutoCancel(int autoCancel) |
getMessageID, setPC, setTimeout
private FutureDimseRSP.Entry entry
private boolean finished
private int autoCancel
private IOException ex
public FutureDimseRSP(int msgID)
public void onDimseRSP(Association as, Attributes cmd, Attributes data)
onDimseRSP
in class DimseRSPHandler
public void onClose(Association as)
onClose
in class DimseRSPHandler
public final void setAutoCancel(int autoCancel)
public void cancel(Association a) throws IOException
DimseRSP
cancel
in interface DimseRSP
cancel
in class DimseRSPHandler
a
- Association The active association object.IOException
- If there was a problem in the network interaction.public final Attributes getCommand()
DimseRSP
getCommand
in interface DimseRSP
public final Attributes getDataset()
DimseRSP
getDataset
in interface DimseRSP
public boolean next() throws IOException, InterruptedException
DimseRSP
next
in interface DimseRSP
IOException
- If there was a problem in the network interaction.InterruptedException
- If the thread was interrupted.Copyright © 2017 dcm4che.org. All rights reserved.