Mercurial > hg > orthanc
comparison OrthancServer/Internals/CommandDispatcher.h @ 624:b58d65608949
integration find-move-scp -> mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Oct 2013 12:42:38 +0200 |
parents | 4aa6f0d79947 |
children | 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
609:5651d2c6f6fd | 624:b58d65608949 |
---|---|
48 private: | 48 private: |
49 uint32_t clientTimeout_; | 49 uint32_t clientTimeout_; |
50 uint32_t elapsedTimeSinceLastCommand_; | 50 uint32_t elapsedTimeSinceLastCommand_; |
51 const DicomServer& server_; | 51 const DicomServer& server_; |
52 T_ASC_Association* assoc_; | 52 T_ASC_Association* assoc_; |
53 std::string callingIP_; | |
54 std::string callingAETitle_; | |
55 IApplicationEntityFilter* filter_; | |
53 | 56 |
54 public: | 57 public: |
55 CommandDispatcher(const DicomServer& server, | 58 CommandDispatcher(const DicomServer& server, |
56 T_ASC_Association* assoc) : | 59 T_ASC_Association* assoc, |
60 const std::string& callingIP, | |
61 const std::string& callingAETitle, | |
62 IApplicationEntityFilter* filter) : | |
57 server_(server), | 63 server_(server), |
58 assoc_(assoc) | 64 assoc_(assoc), |
65 callingIP_(callingIP), | |
66 callingAETitle_(callingAETitle), | |
67 filter_(filter) | |
59 { | 68 { |
60 clientTimeout_ = server.GetClientTimeout(); | 69 clientTimeout_ = server.GetClientTimeout(); |
61 elapsedTimeSinceLastCommand_ = 0; | 70 elapsedTimeSinceLastCommand_ = 0; |
62 } | 71 } |
63 | 72 |