diff OrthancServer/DicomProtocol/ReusableDicomUserConnection.h @ 1284:21ea32170764

Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Feb 2015 14:07:07 +0100
parents e21d1a5f5934
children 6e7e5ed91c2d
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/ReusableDicomUserConnection.h	Tue Feb 03 13:15:46 2015 +0100
+++ b/OrthancServer/DicomProtocol/ReusableDicomUserConnection.h	Tue Feb 03 14:07:07 2015 +0100
@@ -88,12 +88,12 @@
 
     virtual ~ReusableDicomUserConnection();
 
-    unsigned int GetMillisecondsBeforeClose() const
+    uint64_t GetMillisecondsBeforeClose() const
     {
-      return static_cast<unsigned int>(timeBeforeClose_.total_milliseconds());
+      return static_cast<uint64_t>(timeBeforeClose_.total_milliseconds());
     }
 
-    void SetMillisecondsBeforeClose(unsigned int ms);
+    void SetMillisecondsBeforeClose(uint64_t ms);
 
     const std::string& GetLocalApplicationEntityTitle() const;