Class FindAnswers


  • public class FindAnswers
    extends java.lang.Object
    Answers to a DICOM C-FIND query
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FindAnswers​(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
      void findAddAnswer​(byte[] dicom)
      Add one answer to some C-Find request.
      void findMarkIncomplete()
      Mark the set of C-Find answers as incomplete.
      protected long getSelf()
      Return the C object that is associated with this Java wrapper.
      • Methods inherited from class java.lang.Object

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

      • FindAnswers

        protected FindAnswers​(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.
      • findAddAnswer

        public void findAddAnswer​(byte[] dicom)
        Add one answer to some C-Find request. This function adds one answer (encoded as a DICOM file) to the set of answers corresponding to some C-Find SCP request that is not related to modality worklists.
        Parameters:
        dicom - The answer to be added, encoded as a DICOM file.
      • findMarkIncomplete

        public void findMarkIncomplete()
        Mark the set of C-Find answers as incomplete. This function marks as incomplete the set of answers corresponding to some C-Find SCP request that is not related to modality worklists. This must be used if canceling the handling of a request when too many answers are to be returned.