summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/UIOP_Connection_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Connection_Handler.cpp')
-rw-r--r--TAO/tao/Strategies/UIOP_Connection_Handler.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/TAO/tao/Strategies/UIOP_Connection_Handler.cpp b/TAO/tao/Strategies/UIOP_Connection_Handler.cpp
index db70c0819ec..9e0e917070d 100644
--- a/TAO/tao/Strategies/UIOP_Connection_Handler.cpp
+++ b/TAO/tao/Strategies/UIOP_Connection_Handler.cpp
@@ -16,7 +16,7 @@
#include "tao/Base_Transport_Property.h"
#include "tao/GIOP_Message_Lite.h"
#include "tao/Transport_Cache_Manager.h"
-#include "Resume_Handle.h"
+#include "tao/Resume_Handle.h"
#if !defined (__ACE_INLINE__)
# include "UIOP_Connection_Handler.inl"
@@ -202,6 +202,12 @@ TAO_UIOP_Connection_Handler::fetch_handle (void)
return this->get_handle ();
}
+int
+TAO_UIOP_Connection_Handler::resume_handler (void)
+{
+ return TAO_RESUMES_CONNECTION_HANDLER;
+}
+
int
TAO_UIOP_Connection_Handler::add_transport_to_cache (void)
@@ -225,21 +231,21 @@ TAO_UIOP_Connection_Handler::add_transport_to_cache (void)
int
-TAO_UIOP_Connection_Handler::handle_input (ACE_HANDLE h)
+TAO_UIOP_Connection_Handler::handle_input (ACE_HANDLE)
{
this->pending_upcalls_++;
TAO_Resume_Handle resume_handle (this->orb_core (),
- h);
+ this->fetch_handle ());
int retval =
this->transport ()->handle_input_i (resume_handle);
// The upcall is done. Bump down the reference count
if (--this->pending_upcalls_ <= 0)
- result = -1;
+ retval = -1;
- return result;
+ return retval;
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)