public class BasicQueryTask extends Object implements QueryTask
| Modifier and Type | Field and Description |
|---|---|
protected Association |
as |
protected boolean |
canceled |
protected Attributes |
keys |
private static Logger |
log |
protected boolean |
optionalKeysNotSupported |
protected PresentationContext |
pc |
protected Attributes |
rq |
| Constructor and Description |
|---|
BasicQueryTask(Association as,
PresentationContext pc,
Attributes rq,
Attributes keys) |
| Modifier and Type | Method and Description |
|---|---|
protected Attributes |
adjust(Attributes match) |
protected void |
close() |
protected boolean |
hasMoreMatches() |
boolean |
isOptionalKeysNotSupported() |
protected Attributes |
nextMatch() |
void |
onCancelRQ(Association as) |
void |
run() |
void |
setOptionalKeysNotSupported(boolean optionalKeysNotSupported) |
protected final Association as
protected final PresentationContext pc
protected final Attributes rq
protected final Attributes keys
protected volatile boolean canceled
protected boolean optionalKeysNotSupported
public BasicQueryTask(Association as, PresentationContext pc, Attributes rq, Attributes keys)
public boolean isOptionalKeysNotSupported()
public void setOptionalKeysNotSupported(boolean optionalKeysNotSupported)
public void onCancelRQ(Association as)
onCancelRQ in interface CancelRQHandlerprotected void close()
protected Attributes nextMatch() throws DicomServiceException
DicomServiceExceptionprotected boolean hasMoreMatches() throws DicomServiceException
DicomServiceExceptionprotected Attributes adjust(Attributes match) throws DicomServiceException
DicomServiceExceptionCopyright © 2017 dcm4che.org. All rights reserved.