comparison OrthancServer/DicomProtocol/DicomServer.h @ 1675:131136aeeaa7 db-changes

improved exception handling in the main program
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Oct 2015 13:57:54 +0200
parents d3ba98d6b6e9
children ee4367497d0d
comparison
equal deleted inserted replaced
1674:4fc502d469f4 1675:131136aeeaa7
39 #include "../../Core/MultiThreading/BagOfRunnablesBySteps.h" 39 #include "../../Core/MultiThreading/BagOfRunnablesBySteps.h"
40 40
41 #include <boost/shared_ptr.hpp> 41 #include <boost/shared_ptr.hpp>
42 #include <boost/noncopyable.hpp> 42 #include <boost/noncopyable.hpp>
43 43
44 struct T_ASC_Network;
45
44 namespace Orthanc 46 namespace Orthanc
45 { 47 {
46 class DicomServer : public boost::noncopyable 48 class DicomServer : public boost::noncopyable
47 { 49 {
48 private: 50 private:
61 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; 63 IStoreRequestHandlerFactory* storeRequestHandlerFactory_;
62 IApplicationEntityFilter* applicationEntityFilter_; 64 IApplicationEntityFilter* applicationEntityFilter_;
63 65
64 BagOfRunnablesBySteps bagOfDispatchers_; // This is used iff the server is threaded 66 BagOfRunnablesBySteps bagOfDispatchers_; // This is used iff the server is threaded
65 67
66 static void ServerThread(DicomServer* server); 68 static void ServerThread(DicomServer* server,
69 T_ASC_Network *net);
67 70
68 public: 71 public:
69 DicomServer(); 72 DicomServer();
70 73
71 ~DicomServer(); 74 ~DicomServer();