Mercurial > hg > orthanc
comparison OrthancServer/Internals/CommandDispatcher.h @ 2068:879f3be759ef
renames to make code clearer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Jul 2016 16:10:25 +0200 |
parents | b1291df2f780 |
children | ddc75c6c712d |
comparison
equal
deleted
inserted
replaced
2067:02c543c42e61 | 2068:879f3be759ef |
---|---|
44 OFCondition AssociationCleanup(T_ASC_Association *assoc); | 44 OFCondition AssociationCleanup(T_ASC_Association *assoc); |
45 | 45 |
46 class CommandDispatcher : public IRunnableBySteps | 46 class CommandDispatcher : public IRunnableBySteps |
47 { | 47 { |
48 private: | 48 private: |
49 uint32_t clientTimeout_; | 49 uint32_t associationTimeout_; |
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 remoteIp_; | 53 std::string remoteIp_; |
54 std::string remoteAet_; | 54 std::string remoteAet_; |
67 remoteIp_(remoteIp), | 67 remoteIp_(remoteIp), |
68 remoteAet_(remoteAet), | 68 remoteAet_(remoteAet), |
69 calledAet_(calledAet), | 69 calledAet_(calledAet), |
70 filter_(filter) | 70 filter_(filter) |
71 { | 71 { |
72 clientTimeout_ = server.GetClientTimeout(); | 72 associationTimeout_ = server.GetAssociationTimeout(); |
73 elapsedTimeSinceLastCommand_ = 0; | 73 elapsedTimeSinceLastCommand_ = 0; |
74 } | 74 } |
75 | 75 |
76 virtual ~CommandDispatcher() | 76 virtual ~CommandDispatcher() |
77 { | 77 { |