Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/RemoteModalityParameters.h @ 4518:cb8fcecf1b02
new option "Timeout" in "DicomModalities" to set DICOM SCU timeout on a per-modality basis
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Feb 2021 16:32:11 +0100 |
parents | 522e13a60cfc |
children | 7053502fbf97 |
comparison
equal
deleted
inserted
replaced
4517:c494ee5d0101 | 4518:cb8fcecf1b02 |
---|---|
45 bool allowNAction_; | 45 bool allowNAction_; |
46 bool allowNEventReport_; | 46 bool allowNEventReport_; |
47 bool allowTranscoding_; | 47 bool allowTranscoding_; |
48 bool useDicomTls_; | 48 bool useDicomTls_; |
49 std::string localAet_; | 49 std::string localAet_; |
50 uint32_t timeout_; | |
50 | 51 |
51 void Clear(); | 52 void Clear(); |
52 | 53 |
53 void UnserializeArray(const Json::Value& serialized); | 54 void UnserializeArray(const Json::Value& serialized); |
54 | 55 |
105 bool HasLocalAet() const; | 106 bool HasLocalAet() const; |
106 | 107 |
107 const std::string& GetLocalAet() const; | 108 const std::string& GetLocalAet() const; |
108 | 109 |
109 void SetLocalAet(const std::string& aet); | 110 void SetLocalAet(const std::string& aet); |
111 | |
112 // Setting it to "0" will use "DicomAssociationParameters::GetDefaultTimeout()" | |
113 void SetTimeout(uint32_t seconds); | |
114 | |
115 uint32_t GetTimeout() const; | |
116 | |
117 bool HasTimeout() const; | |
110 }; | 118 }; |
111 } | 119 } |