Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/LuaJobManager.h @ 3858:3ab2d48c8f69 c-get
integration mainline->c-get
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Apr 2020 16:37:25 +0200 |
parents | 6498739a3c3c |
children | 8f7ad4989fec |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/LuaJobManager.h Fri Mar 27 10:06:58 2020 -0400 +++ b/OrthancServer/ServerJobs/LuaJobManager.h Tue Apr 21 16:37:25 2020 +0200 @@ -33,6 +33,7 @@ #pragma once +#include "../../Core/DicomNetworking/TimeoutDicomConnectionManager.h" #include "../../Core/DicomParsing/DicomModification.h" #include "../../Core/JobsEngine/JobsEngine.h" #include "../../Core/JobsEngine/Operations/SequenceOfOperationsJob.h" @@ -51,7 +52,7 @@ size_t maxOperations_; int priority_; unsigned int trailingTimeout_; - unsigned int dicomTimeout_; + TimeoutDicomConnectionManager connectionManager_; virtual void SignalDone(const SequenceOfOperationsJob& job); @@ -66,6 +67,11 @@ void AwakeTrailingSleep(); + TimeoutDicomConnectionManager& GetDicomConnectionManager() + { + return connectionManager_; + } + class Lock : public boost::noncopyable { private: