summaryrefslogtreecommitdiff
path: root/TAO/tao/Resume_Handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Resume_Handle.h')
-rw-r--r--TAO/tao/Resume_Handle.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/TAO/tao/Resume_Handle.h b/TAO/tao/Resume_Handle.h
index 44aed27e266..9fd1f4949e9 100644
--- a/TAO/tao/Resume_Handle.h
+++ b/TAO/tao/Resume_Handle.h
@@ -15,12 +15,16 @@
#include /**/ "ace/pre.h"
-#include "TAO_Export.h"
+#include "tao/TAO_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "tao/Versioned_Namespace.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
class TAO_ORB_Core;
/**
@@ -62,13 +66,19 @@ public:
/// Allow the users of this class to change the underlying flag.
void set_flag (TAO_Handle_Resume_Flag fl);
- /// Equal to operator..
+ /// Assignment operator
TAO_Resume_Handle &operator= (const TAO_Resume_Handle &rhs);
/// Resume the handle in the reactor only if the ORB uses a TP
- /// reactor. Else we dont resume the handle.
+ /// reactor. Else we don't resume the handle.
void resume_handle (void);
+ // Hook method called at the end of a connection handler's
+ // handle_input function. Might override the handle_input
+ // return value or change the resume_handler's flag_ value.
+ void handle_input_return_value_hook (int& return_value);
+
+
private:
/// Our ORB Core.
@@ -82,8 +92,10 @@ private:
TAO_Handle_Resume_Flag flag_;
};
+TAO_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
-# include "Resume_Handle.inl"
+# include "tao/Resume_Handle.inl"
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"