Mercurial > hg > orthanc
comparison Core/HttpServer/MongooseServer.h @ 2903:1153b1a128fe
MongooseServer::SetThreadsCount()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Oct 2018 17:32:56 +0200 |
parents | da43ef7ff32a |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2902:e80b38fb22c6 | 2903:1153b1a128fe |
---|---|
94 IIncomingHttpRequestFilter* filter_; | 94 IIncomingHttpRequestFilter* filter_; |
95 bool keepAlive_; | 95 bool keepAlive_; |
96 bool httpCompression_; | 96 bool httpCompression_; |
97 IHttpExceptionFormatter* exceptionFormatter_; | 97 IHttpExceptionFormatter* exceptionFormatter_; |
98 std::string realm_; | 98 std::string realm_; |
99 unsigned int threadsCount_; | |
99 | 100 |
100 bool IsRunning() const; | 101 bool IsRunning() const; |
101 | 102 |
102 public: | 103 public: |
103 MongooseServer(); | 104 MongooseServer(); |
196 | 197 |
197 void SetRealm(const std::string& realm) | 198 void SetRealm(const std::string& realm) |
198 { | 199 { |
199 realm_ = realm; | 200 realm_ = realm; |
200 } | 201 } |
202 | |
203 void SetThreadsCount(unsigned int threads); | |
204 | |
205 unsigned int GetThreadsCount() const | |
206 { | |
207 return threadsCount_; | |
208 } | |
201 }; | 209 }; |
202 } | 210 } |