summaryrefslogtreecommitdiff
path: root/TAO/tao/params.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/params.cpp')
-rw-r--r--TAO/tao/params.cpp30
1 files changed, 26 insertions, 4 deletions
diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp
index 7adbe9e5cff..80e6e752437 100644
--- a/TAO/tao/params.cpp
+++ b/TAO/tao/params.cpp
@@ -2,7 +2,6 @@
#include "tao/params.h"
#include "tao/orbconf.h"
-#include "tao/Version.h"
#if !defined (__ACE_INLINE__)
# include "tao/params.inl"
@@ -59,13 +58,12 @@ TAO_ORB_Parameters::TAO_ORB_Parameters (void)
, thread_lane_resources_manager_factory_name_ ("Default_Thread_Lane_Resources_Manager_Factory")
, poa_factory_name_ ("TAO_Object_Adapter_Factory")
, poa_factory_directive_
- (ACE_DYNAMIC_VERSIONED_SERVICE_DIRECTIVE("TAO_Object_Adapter_Factory",
+ (ACE_DYNAMIC_SERVICE_DIRECTIVE("TAO_Object_Adapter_Factory",
"TAO_PortableServer",
- TAO_VERSION,
"_make_TAO_Object_Adapter_Factory",
""))
, forward_invocation_on_object_not_exist_ (false)
- , forward_once_exception_ (TAO::FOE_NON)
+ , forward_once_exception_ (0)
, collocation_resolver_name_ ("Default_Collocation_Resolver")
, allow_ziop_no_server_policies_ (!!TAO_ALLOW_ZIOP_NO_SERVER_POLICIES_DEFAULT)
{
@@ -412,4 +410,28 @@ TAO_ORB_Parameters::endpoint_selector_factory_name (void) const
return this->endpoint_selector_factory_name_.c_str ();
}
+const TAO::Invocation_Retry_Params &
+TAO_ORB_Parameters::invocation_retry_params (void) const
+{
+ return this->invocation_retry_params_;
+}
+
+TAO::Invocation_Retry_Params &
+TAO_ORB_Parameters::invocation_retry_params (void)
+{
+ return this->invocation_retry_params_;
+}
+
+void
+TAO_ORB_Parameters::forward_on_exception_limit (const int ef, const int limit)
+{
+ this->invocation_retry_params_.forward_on_exception_limit_[ef] = limit;
+}
+
+void
+TAO_ORB_Parameters::forward_on_exception_delay (const ACE_Time_Value &delay)
+{
+ this->invocation_retry_params_.init_retry_delay_ = delay;
+}
+
TAO_END_VERSIONED_NAMESPACE_DECL