diff OrthancServer/QueryRetrieveHandler.h @ 2590:5e2730c8e23c jobs

getting rid of ReusableDicomConnection in QueryRetrieveHandler and OrthancMoveRequestHandler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 15 May 2018 16:28:43 +0200
parents 878b59270859
children 4ee3a759afea
line wrap: on
line diff
--- a/OrthancServer/QueryRetrieveHandler.h	Tue May 15 16:10:03 2018 +0200
+++ b/OrthancServer/QueryRetrieveHandler.h	Tue May 15 16:28:43 2018 +0200
@@ -49,8 +49,11 @@
     DicomFindAnswers           answers_;
     std::string                modalityName_;
 
+    std::auto_ptr<DicomUserConnection>  connection_;
+
     void Invalidate();
 
+    DicomUserConnection& GetConnection();
 
   public:
     QueryRetrieveHandler(ServerContext& context);