summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.i')
-rw-r--r--TAO/tao/ORB_Core.i29
1 files changed, 8 insertions, 21 deletions
diff --git a/TAO/tao/ORB_Core.i b/TAO/tao/ORB_Core.i
index 1506949fb16..9a0eb2e3a5b 100644
--- a/TAO/tao/ORB_Core.i
+++ b/TAO/tao/ORB_Core.i
@@ -5,7 +5,6 @@
#include "tao/ORB_Core_TSS_Resources.h"
#include "tao/ORB_Table.h"
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE CORBA::ULong
TAO_ORB_Core::_incr_refcnt (void)
@@ -362,6 +361,14 @@ TAO_ORB_Core::set_tss_resource (size_t slot_id, void *ts_object)
return 0;
}
+ACE_INLINE int
+TAO_ORB_Core::add_tss_cleanup_func (ACE_CLEANUP_FUNC cleanup,
+ size_t &slot_id)
+{
+ return this->tss_cleanup_funcs_.register_cleanup_function (cleanup,
+ slot_id);
+}
+
ACE_INLINE TAO_Cleanup_Func_Registry *
TAO_ORB_Core::tss_cleanup_funcs (void)
{
@@ -631,23 +638,3 @@ TAO_ORB_Core::serverrequestinterceptor_adapter (void)
}
#endif /* TAO_HAS_INTERCEPTORS */
-
-/// Verify condition for permanent forward is given,
-/// both parameters must provide group attributes.
-ACE_INLINE CORBA::Boolean
-TAO_ORB_Core::is_permanent_forward_condition
-(const CORBA::Object_ptr obj,
- const TAO_Service_Context &service_context)
-{
- const TAO_Service_Callbacks *service_callback =
- this->fault_tolerance_service ().service_callback ();
-
- const CORBA::Boolean permanent_forward_condition =
- service_callback &&
- service_callback->is_permanent_forward_condition (obj,
- service_context);
-
- return permanent_forward_condition;
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL