Package be.uclouvain.orthanc
Class WorklistAnswers
- java.lang.Object
-
- be.uclouvain.orthanc.WorklistAnswers
-
public class WorklistAnswers extends java.lang.Object
Answers to a DICOM C-FIND worklist query
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WorklistAnswers(long self)
Construct a Java object wrapping a C object that is managed by Orthanc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getSelf()
Return the C object that is associated with this Java wrapper.void
worklistAddAnswer(WorklistQuery query, byte[] dicom)
Add one answer to some modality worklist request.void
worklistMarkIncomplete()
Mark the set of worklist answers as incomplete.
-
-
-
Method Detail
-
getSelf
protected long getSelf()
Return the C object that is associated with this Java wrapper.- Returns:
- Pointer to the C object.
-
worklistAddAnswer
public void worklistAddAnswer(WorklistQuery query, byte[] dicom)
Add one answer to some modality worklist request. This function adds one worklist (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request against modality worklists.- Parameters:
query
- The worklist query, as received by the callback.dicom
- The worklist to answer, encoded as a DICOM file.
-
worklistMarkIncomplete
public void worklistMarkIncomplete()
Mark the set of worklist answers as incomplete. This function marks as incomplete the set of answers corresponding to some C-Find SCP request against modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned.
-
-