diff Core/DicomNetworking/DicomControlUserConnection.cpp @ 3870:09798f2b985f transcoding

added a Timeout argument to every DICOM command + 'TargetAet' not mandatory anymore in /retrieve
author Alain Mazy <alain@mazy.be>
date Wed, 29 Apr 2020 12:26:51 +0200
parents 138d0dde41b5
children 2effa961f67f
line wrap: on
line diff
--- a/Core/DicomNetworking/DicomControlUserConnection.cpp	Tue Apr 28 16:46:04 2020 +0200
+++ b/Core/DicomNetworking/DicomControlUserConnection.cpp	Wed Apr 29 12:26:51 2020 +0200
@@ -669,6 +669,10 @@
     MoveInternal(targetAet, ResourceType_Instance, query);
   }
 
+  void DicomControlUserConnection::SetTimeout(uint32_t seconds)
+  {
+    parameters_.SetTimeout(seconds);
+  }
 
   void DicomControlUserConnection::FindWorklist(DicomFindAnswers& result,
                                                 ParsedDicomFile& query)