comparison OrthancServer/Internals/CommandDispatcher.h @ 1573:3309878b3e16

more information about the origin of requests submitted to the DICOM handlers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 13:05:22 +0200
parents 6e7e5ed91c2d
children 4f01c9d73f02
comparison
equal deleted inserted replaced
1572:904096e7367e 1573:3309878b3e16
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_; 53 std::string remoteIp_;
54 std::string callingAETitle_; 54 std::string remoteAet_;
55 IApplicationEntityFilter* filter_; 55 IApplicationEntityFilter* filter_;
56 56
57 public: 57 public:
58 CommandDispatcher(const DicomServer& server, 58 CommandDispatcher(const DicomServer& server,
59 T_ASC_Association* assoc, 59 T_ASC_Association* assoc,
60 const std::string& callingIP, 60 const std::string& remoteIp,
61 const std::string& callingAETitle, 61 const std::string& remoteAet,
62 IApplicationEntityFilter* filter) : 62 IApplicationEntityFilter* filter) :
63 server_(server), 63 server_(server),
64 assoc_(assoc), 64 assoc_(assoc),
65 callingIP_(callingIP), 65 remoteIp_(remoteIp),
66 callingAETitle_(callingAETitle), 66 remoteAet_(remoteAet),
67 filter_(filter) 67 filter_(filter)
68 { 68 {
69 clientTimeout_ = server.GetClientTimeout(); 69 clientTimeout_ = server.GetClientTimeout();
70 elapsedTimeSinceLastCommand_ = 0; 70 elapsedTimeSinceLastCommand_ = 0;
71 } 71 }