Class BasicRetrieve<T extends Instance>

java.lang.Object
org.aoju.bus.image.metric.service.BasicRetrieve<T>
All Implemented Interfaces:
Runnable, CancelRQHandler, Retrieve

public class BasicRetrieve<T extends Instance> extends Object implements Retrieve
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • rq

      protected final Dimse rq
    • rqas

      protected final Association rqas
    • storeas

      protected final Association storeas
    • pc

      protected final Presentation pc
    • rqCmd

      protected final Attributes rqCmd
    • msgId

      protected final int msgId
    • priority

      protected final int priority
    • insts

      protected final List<T extends Instance> insts
    • completed

      protected final List<T extends Instance> completed
    • warning

      protected final List<T extends Instance> warning
    • failed

      protected final List<T extends Instance> failed
    • status

      protected int status
    • pendingRSP

      protected boolean pendingRSP
    • pendingRSPInterval

      protected int pendingRSPInterval
    • canceled

      protected boolean canceled
    • outstandingRSP

      protected int outstandingRSP
    • outstandingRSPLock

      protected Object outstandingRSPLock
  • Constructor Details

  • Method Details

    • setSendPendingRSP

      public void setSendPendingRSP(boolean pendingRSP)
    • setSendPendingRSPInterval

      public void setSendPendingRSPInterval(int pendingRSPInterval)
    • isCMove

      public boolean isCMove()
    • isCanceled

      public boolean isCanceled()
    • getStatus

      public int getStatus()
    • getRequestAssociation

      public Association getRequestAssociation()
    • getStoreAssociation

      public Association getStoreAssociation()
    • getCompleted

      public List<T> getCompleted()
    • getWarning

      public List<T> getWarning()
    • getFailed

      public List<T> getFailed()
    • onCancelRQ

      public void onCancelRQ(Association as)
      Specified by:
      onCancelRQ in interface CancelRQHandler
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • releaseStoreAssociation

      protected void releaseStoreAssociation(Association storeas)
    • cstore

      protected void cstore(Association storeas, T inst, String tsuid, DataWriter dataWriter) throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • selectTransferSyntaxFor

      protected String selectTransferSyntaxFor(Association storeas, T inst)
    • createDataWriter

      protected DataWriter createDataWriter(T inst, String tsuid) throws Exception
      Throws:
      Exception
    • writePendingRSP

      public void writePendingRSP()
    • close

      protected void close()