Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomServer.h @ 4793:fc2ba1ce6538
new configuration 'DicomThreadsCount'
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 30 Sep 2021 15:03:35 +0200 |
parents | 82a314325351 |
children | 7053502fbf97 |
comparison
equal
deleted
inserted
replaced
4790:9754d5f2f38a | 4793:fc2ba1ce6538 |
---|---|
70 bool checkCalledAet_; | 70 bool checkCalledAet_; |
71 std::string aet_; | 71 std::string aet_; |
72 uint16_t port_; | 72 uint16_t port_; |
73 bool continue_; | 73 bool continue_; |
74 uint32_t associationTimeout_; | 74 uint32_t associationTimeout_; |
75 unsigned int threadsCount_; | |
75 IRemoteModalities* modalities_; | 76 IRemoteModalities* modalities_; |
76 IFindRequestHandlerFactory* findRequestHandlerFactory_; | 77 IFindRequestHandlerFactory* findRequestHandlerFactory_; |
77 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; | 78 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; |
78 IGetRequestHandlerFactory* getRequestHandlerFactory_; | 79 IGetRequestHandlerFactory* getRequestHandlerFactory_; |
79 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; | 80 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; |
86 std::string ownPrivateKeyPath_; | 87 std::string ownPrivateKeyPath_; |
87 std::string ownCertificatePath_; | 88 std::string ownCertificatePath_; |
88 std::string trustedCertificatesPath_; | 89 std::string trustedCertificatesPath_; |
89 unsigned int maximumPduLength_; | 90 unsigned int maximumPduLength_; |
90 bool remoteCertificateRequired_; // New in 1.9.3 | 91 bool remoteCertificateRequired_; // New in 1.9.3 |
92 | |
91 | 93 |
92 static void ServerThread(DicomServer* server, | 94 static void ServerThread(DicomServer* server, |
93 unsigned int maximumPduLength, | 95 unsigned int maximumPduLength, |
94 bool useDicomTls); | 96 bool useDicomTls); |
95 | 97 |
161 unsigned int GetMaximumPduLength() const; | 163 unsigned int GetMaximumPduLength() const; |
162 void SetMaximumPduLength(unsigned int pdu); | 164 void SetMaximumPduLength(unsigned int pdu); |
163 | 165 |
164 void SetRemoteCertificateRequired(bool required); | 166 void SetRemoteCertificateRequired(bool required); |
165 bool IsRemoteCertificateRequired() const; | 167 bool IsRemoteCertificateRequired() const; |
168 | |
169 void SetThreadsCount(unsigned int threadsCount); | |
170 | |
166 }; | 171 }; |
167 } | 172 } |