summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-20 16:06:37 +0000
committerjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-20 16:06:37 +0000
commit754c2918b040fa788fd0fa3af4f6bec457c3e703 (patch)
tree72bb8f8817389b8c5542b0a050c30db632fe54be
parentc51a0955167c7b5257501a586bc88f582fb2d403 (diff)
downloadATCD-754c2918b040fa788fd0fa3af4f6bec457c3e703.tar.gz
ChangeLogTag: Tue Feb 20 16:03:13 UTC 2007 Jaiganesh B <jai.dre.vanderbilt.edu>
-rw-r--r--TAO/ChangeLog10
-rw-r--r--TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp6
2 files changed, 14 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 816758766b9..f1ed6834e7d 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,13 @@
+Tue Feb 20 16:03:13 UTC 2007 Jaiganesh B <jai.dre.vanderbilt.edu>
+
+ * tao/PortableServer/Default_Servant_Dispatcher.cpp:
+
+ Modified the pre_invoke_remote_request () method to do
+ some processing, specific to the DiffServ library, to add
+ DiffServ codepoints on the replies. The method relegates the
+ processing to a network priority hook, defined on the POA,
+ and specialized by the DiffServ library.
+
Tue Feb 20 15:10:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/AnyTypeCode/TypeCode.{h,cpp,inl}:
diff --git a/TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp b/TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp
index bdba9bcf3f2..284fb7e1dd9 100644
--- a/TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp
+++ b/TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp
@@ -2,6 +2,7 @@
#include "tao/PortableServer/Default_Servant_Dispatcher.h"
#include "tao/PortableServer/Root_POA.h"
+#include "tao/PortableServer/Network_Priority_Hook.h"
ACE_RCSID(PortableServer,
Default_Servant_Dispatcher,
@@ -42,11 +43,12 @@ TAO_Default_Servant_Dispatcher::create_Root_POA (const ACE_CString &name,
void
TAO_Default_Servant_Dispatcher::pre_invoke_remote_request (
- TAO_Root_POA &,
+ TAO_Root_POA &poa,
CORBA::Short,
- TAO_ServerRequest &,
+ TAO_ServerRequest &req,
TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &)
{
+ poa.network_priority_hook ()-> set_dscp_codepoint (req, poa);
}
void