diff OrthancServer/Internals/CommandDispatcher.h @ 1799:4f01c9d73f02 worklists

calledAet made available to all the handlers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Nov 2015 12:57:14 +0100
parents 3309878b3e16
children b1291df2f780
line wrap: on
line diff
--- a/OrthancServer/Internals/CommandDispatcher.h	Fri Nov 20 12:00:34 2015 +0100
+++ b/OrthancServer/Internals/CommandDispatcher.h	Fri Nov 20 12:57:14 2015 +0100
@@ -52,6 +52,7 @@
       T_ASC_Association* assoc_;
       std::string remoteIp_;
       std::string remoteAet_;
+      std::string calledAet_;
       IApplicationEntityFilter* filter_;
 
     public:
@@ -59,11 +60,13 @@
                         T_ASC_Association* assoc,
                         const std::string& remoteIp,
                         const std::string& remoteAet,
+                        const std::string& calledAet,
                         IApplicationEntityFilter* filter) :
         server_(server),
         assoc_(assoc),
         remoteIp_(remoteIp),
         remoteAet_(remoteAet),
+        calledAet_(calledAet),
         filter_(filter)
       {
         clientTimeout_ = server.GetClientTimeout();