Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomServer.h @ 1681:ee4367497d0d
got rid of buggy BagOfRunnablesBySteps
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Oct 2015 14:02:39 +0200 |
parents | 4113a9a668b1 |
children | 6414043df7d8 |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomServer.h Tue Oct 06 13:36:09 2015 +0200 +++ b/OrthancServer/DicomProtocol/DicomServer.h Tue Oct 06 14:02:39 2015 +0200 @@ -36,13 +36,10 @@ #include "IMoveRequestHandlerFactory.h" #include "IStoreRequestHandlerFactory.h" #include "IApplicationEntityFilter.h" -#include "../../Core/MultiThreading/BagOfRunnablesBySteps.h" #include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> -struct T_ASC_Network; - namespace Orthanc { class DicomServer : public boost::noncopyable @@ -57,16 +54,12 @@ bool continue_; bool started_; uint32_t clientTimeout_; - bool isThreaded_; IFindRequestHandlerFactory* findRequestHandlerFactory_; IMoveRequestHandlerFactory* moveRequestHandlerFactory_; IStoreRequestHandlerFactory* storeRequestHandlerFactory_; IApplicationEntityFilter* applicationEntityFilter_; - BagOfRunnablesBySteps bagOfDispatchers_; // This is used iff the server is threaded - - static void ServerThread(DicomServer* server, - T_ASC_Network *net); + static void ServerThread(DicomServer* server); public: DicomServer(); @@ -76,9 +69,6 @@ void SetPortNumber(uint16_t port); uint16_t GetPortNumber() const; - void SetThreaded(bool isThreaded); - bool IsThreaded() const; - void SetClientTimeout(uint32_t timeout); uint32_t GetClientTimeout() const;