diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-12-17 20:05:04 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-12-17 20:05:04 +0000 |
commit | 8b8df518585993f0c611564192b06a0404f0ccd2 (patch) | |
tree | 8e6125d21ce57bf003c4d0851257d1febd711388 /TAO/tao/IIOP_Connection_Handler.cpp | |
parent | 6ae14f3ab842981013967a942259b6bdd21fd404 (diff) | |
download | ATCD-8b8df518585993f0c611564192b06a0404f0ccd2.tar.gz |
Mon Dec 17 20:02:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/IIOP_Connection_Handler.cpp')
-rw-r--r-- | TAO/tao/IIOP_Connection_Handler.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp index 9a3a02f3448..67f73e5c00c 100644 --- a/TAO/tao/IIOP_Connection_Handler.cpp +++ b/TAO/tao/IIOP_Connection_Handler.cpp @@ -297,8 +297,7 @@ TAO_IIOP_Connection_Handler::handle_input (ACE_HANDLE h) int TAO_IIOP_Connection_Handler::handle_output (ACE_HANDLE handle) { - const int result = - this->handle_output_eh (handle, this); + int const result = this->handle_output_eh (handle, this); if (result == -1) { @@ -336,8 +335,7 @@ TAO_IIOP_Connection_Handler::handle_timeout (const ACE_Time_Value &, } int -TAO_IIOP_Connection_Handler::handle_close (ACE_HANDLE, - ACE_Reactor_Mask) +TAO_IIOP_Connection_Handler::handle_close (ACE_HANDLE, ACE_Reactor_Mask) { ACE_ASSERT (0); return 0; @@ -376,8 +374,7 @@ TAO_IIOP_Connection_Handler::add_transport_to_cache (void) this->orb_core ()->lane_resources ().transport_cache (); // Idle the transport.. - return cache.cache_idle_transport (&prop, - this->transport ()); + return cache.cache_idle_transport (&prop, this->transport ()); } int @@ -385,7 +382,7 @@ TAO_IIOP_Connection_Handler::process_listen_point_list ( IIOP::ListenPointList &listen_list) { // Get the size of the list - const CORBA::ULong len = listen_list.length (); + CORBA::ULong const len = listen_list.length (); if (TAO_debug_level > 0 && len == 0) { @@ -426,11 +423,8 @@ TAO_IIOP_Connection_Handler::process_listen_point_list ( // The property for this handler has changed. Recache the // handler with this property - int retval = - this->transport ()->recache_transport (&prop); - - if (retval == -1) - return retval; + if (this->transport ()->recache_transport (&prop) == -1) + return -1; // Make the handler idle and ready for use this->transport ()->make_idle (); @@ -517,8 +511,7 @@ TAO_IIOP_Connection_Handler::set_dscp_codepoint (CORBA::Boolean set_network_prio if (tph != 0) { - CORBA::Long codepoint = - tph->get_dscp_codepoint (); + CORBA::Long codepoint = tph->get_dscp_codepoint (); tos = static_cast<int> (codepoint) << 2; this->set_tos (tos); |