public class BasicRetrieveTask<T extends InstanceLocator> extends Object implements RetrieveTask
Modifier and Type | Field and Description |
---|---|
protected List<T> |
insts |
protected static 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 Association |
storeas |
private CStoreSCU<T> |
storescu |
private ScheduledFuture<?> |
writePendingRSP |
Constructor and Description |
---|
BasicRetrieveTask(Dimse rq,
Association rqas,
PresentationContext pc,
Attributes rqCmd,
List<T> insts,
Association storeas,
CStoreSCU<T> storescu) |
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
Association |
getRequestAssociation() |
Association |
getStoreAssociation() |
boolean |
isCMove() |
void |
onCancelRQ(Association as) |
protected void |
releaseStoreAssociation(Association storeas) |
void |
run() |
void |
setSendPendingRSP(boolean pendingRSP) |
void |
setSendPendingRSPInterval(int pendingRSPInterval) |
private void |
startWritingAsyncRSP() |
private void |
stopWritingAsyncRSP() |
void |
update(Observable obj,
Object arg) |
private void |
writeRSP() |
protected final List<T extends InstanceLocator> insts
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 boolean pendingRSP
protected int pendingRSPInterval
protected int outstandingRSP
protected Object outstandingRSPLock
private CStoreSCU<T extends InstanceLocator> storescu
private ScheduledFuture<?> writePendingRSP
public BasicRetrieveTask(Dimse rq, Association rqas, PresentationContext pc, Attributes rqCmd, List<T> insts, Association storeas, CStoreSCU<T> storescu)
public void setSendPendingRSP(boolean pendingRSP)
public void setSendPendingRSPInterval(int pendingRSPInterval)
public boolean isCMove()
public Association getRequestAssociation()
public Association getStoreAssociation()
public void onCancelRQ(Association as)
onCancelRQ
in interface CancelRQHandler
protected void releaseStoreAssociation(Association storeas)
private void startWritingAsyncRSP()
private void stopWritingAsyncRSP()
private void writeRSP()
protected void close()
public void update(Observable obj, Object arg)
Copyright © 2017 dcm4che.org. All rights reserved.