comparison Core/DicomNetworking/DicomServer.h @ 3604:e327b44780bb storage-commitment

abstraction: storage commitment handler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Jan 2020 18:14:43 +0100
parents 4e43e67f8ecf
children f6a73611ec5c
comparison
equal deleted inserted replaced
3603:7e303ba837d9 3604:e327b44780bb
39 39
40 #include "IFindRequestHandlerFactory.h" 40 #include "IFindRequestHandlerFactory.h"
41 #include "IMoveRequestHandlerFactory.h" 41 #include "IMoveRequestHandlerFactory.h"
42 #include "IStoreRequestHandlerFactory.h" 42 #include "IStoreRequestHandlerFactory.h"
43 #include "IWorklistRequestHandlerFactory.h" 43 #include "IWorklistRequestHandlerFactory.h"
44 #include "IStorageCommitmentRequestHandlerFactory.h"
44 #include "IApplicationEntityFilter.h" 45 #include "IApplicationEntityFilter.h"
45 #include "RemoteModalityParameters.h" 46 #include "RemoteModalityParameters.h"
46 47
47 #include <boost/shared_ptr.hpp> 48 #include <boost/shared_ptr.hpp>
48 #include <boost/noncopyable.hpp> 49 #include <boost/noncopyable.hpp>
80 IRemoteModalities* modalities_; 81 IRemoteModalities* modalities_;
81 IFindRequestHandlerFactory* findRequestHandlerFactory_; 82 IFindRequestHandlerFactory* findRequestHandlerFactory_;
82 IMoveRequestHandlerFactory* moveRequestHandlerFactory_; 83 IMoveRequestHandlerFactory* moveRequestHandlerFactory_;
83 IStoreRequestHandlerFactory* storeRequestHandlerFactory_; 84 IStoreRequestHandlerFactory* storeRequestHandlerFactory_;
84 IWorklistRequestHandlerFactory* worklistRequestHandlerFactory_; 85 IWorklistRequestHandlerFactory* worklistRequestHandlerFactory_;
86 IStorageCommitmentRequestHandlerFactory* storageCommitmentFactory_;
85 IApplicationEntityFilter* applicationEntityFilter_; 87 IApplicationEntityFilter* applicationEntityFilter_;
86 88
87 static void ServerThread(DicomServer* server); 89 static void ServerThread(DicomServer* server);
88 90
89 public: 91 public:
120 122
121 void SetWorklistRequestHandlerFactory(IWorklistRequestHandlerFactory& handler); 123 void SetWorklistRequestHandlerFactory(IWorklistRequestHandlerFactory& handler);
122 bool HasWorklistRequestHandlerFactory() const; 124 bool HasWorklistRequestHandlerFactory() const;
123 IWorklistRequestHandlerFactory& GetWorklistRequestHandlerFactory() const; 125 IWorklistRequestHandlerFactory& GetWorklistRequestHandlerFactory() const;
124 126
127 void SetStorageCommitmentRequestHandlerFactory(IStorageCommitmentRequestHandlerFactory& handler);
128 bool HasStorageCommitmentRequestHandlerFactory() const;
129 IStorageCommitmentRequestHandlerFactory& GetStorageCommitmentRequestHandlerFactory() const;
130
125 void SetApplicationEntityFilter(IApplicationEntityFilter& handler); 131 void SetApplicationEntityFilter(IApplicationEntityFilter& handler);
126 bool HasApplicationEntityFilter() const; 132 bool HasApplicationEntityFilter() const;
127 IApplicationEntityFilter& GetApplicationEntityFilter() const; 133 IApplicationEntityFilter& GetApplicationEntityFilter() const;
128 134
129 void Start(); 135 void Start();