diff options
-rw-r--r-- | TAO/ChangeLog | 10 | ||||
-rw-r--r-- | TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp | 6 |
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 |