Mercurial > hg > orthanc
diff OrthancServer/Internals/CommandDispatcher.h @ 620:4aa6f0d79947 find-move-scp
security filter for dicom requests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Oct 2013 12:36:00 +0200 |
parents | 4d5f0857ec9c |
children | 2d0a347e8cfc |
line wrap: on
line diff
--- a/OrthancServer/Internals/CommandDispatcher.h Fri Oct 25 11:57:30 2013 +0200 +++ b/OrthancServer/Internals/CommandDispatcher.h Fri Oct 25 12:36:00 2013 +0200 @@ -50,12 +50,21 @@ uint32_t elapsedTimeSinceLastCommand_; const DicomServer& server_; T_ASC_Association* assoc_; + std::string callingIP_; + std::string callingAETitle_; + IApplicationEntityFilter* filter_; public: CommandDispatcher(const DicomServer& server, - T_ASC_Association* assoc) : + T_ASC_Association* assoc, + const std::string& callingIP, + const std::string& callingAETitle, + IApplicationEntityFilter* filter) : server_(server), - assoc_(assoc) + assoc_(assoc), + callingIP_(callingIP), + callingAETitle_(callingAETitle), + filter_(filter) { clientTimeout_ = server.GetClientTimeout(); elapsedTimeSinceLastCommand_ = 0;