public class BasicRetrieveTask<T extends InstanceLocator> extends Object implements RetrieveTask
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canceled |
protected List<T> |
completed |
protected List<T> |
failed |
protected List<T> |
insts |
protected static org.slf4j.Logger |
LOG |
protected int |
msgId |
protected int |
outstandingRSP |
protected Object |
outstandingRSPLock |
protected PresentationContext |
pc |
protected boolean |
pendingRSP |
protected int |
pendingRSPInterval |
protected int |
priority |
protected Dimse |
rq |
protected Association |
rqas |
protected Attributes |
rqCmd |
protected int |
status |
protected Association |
storeas |
protected List<T> |
warning |
| Constructor and Description |
|---|
BasicRetrieveTask(Dimse rq,
Association rqas,
PresentationContext pc,
Attributes rqCmd,
List<T> insts,
Association storeas) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected DataWriter |
createDataWriter(T inst,
String tsuid) |
protected void |
cstore(Association storeas,
T inst) |
List<T> |
getCompleted() |
List<T> |
getFailed() |
Association |
getRequestAssociation() |
int |
getStatus() |
Association |
getStoreAssociation() |
List<T> |
getWarning() |
boolean |
isCanceled() |
boolean |
isCMove() |
void |
onCancelRQ(Association as) |
protected void |
releaseStoreAssociation(Association storeas) |
void |
run() |
protected String |
selectTransferSyntaxFor(Association storeas,
T inst) |
void |
setSendPendingRSP(boolean pendingRSP) |
void |
setSendPendingRSPInterval(int pendingRSPInterval) |
void |
writePendingRSP() |
protected static final org.slf4j.Logger LOG
protected final Dimse rq
protected final Association rqas
protected final Association storeas
protected final PresentationContext pc
protected final Attributes rqCmd
protected final int msgId
protected final int priority
protected int status
protected boolean pendingRSP
protected int pendingRSPInterval
protected boolean canceled
protected final List<T extends InstanceLocator> insts
protected final List<T extends InstanceLocator> completed
protected final List<T extends InstanceLocator> warning
protected final List<T extends InstanceLocator> failed
protected int outstandingRSP
protected Object outstandingRSPLock
public BasicRetrieveTask(Dimse rq, Association rqas, PresentationContext pc, Attributes rqCmd, List<T> insts, Association storeas)
public void setSendPendingRSP(boolean pendingRSP)
public void setSendPendingRSPInterval(int pendingRSPInterval)
public boolean isCMove()
public boolean isCanceled()
public int getStatus()
public Association getRequestAssociation()
public Association getStoreAssociation()
public void onCancelRQ(Association as)
onCancelRQ in interface CancelRQHandlerprotected void releaseStoreAssociation(Association storeas)
protected void cstore(Association storeas, T inst) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected String selectTransferSyntaxFor(Association storeas, T inst)
protected DataWriter createDataWriter(T inst, String tsuid) throws IOException
IOExceptionpublic void writePendingRSP()
protected void close()
Copyright © 2014 dcm4che.org. All Rights Reserved.