Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorklistAnswers

        protected WorklistAnswers​(long self)
        Construct a Java object wrapping a C object that is managed by Orthanc.
        Parameters:
        self - Pointer to the C object.
    • 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.