summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index 658135a32b8..7130325aa13 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -294,6 +294,7 @@ TAO_ORB_Core::TAO_ORB_Core (const char *orbid,
ACE_NEW (this->request_dispatcher_,
TAO_Request_Dispatcher);
+ this->set_sync_scope_hook (TAO_ORB_Core::default_sync_scope_hook);
}
TAO_ORB_Core::~TAO_ORB_Core (void)
@@ -2925,6 +2926,16 @@ TAO_ORB_Core::implrepo_service (void)
}
void
+TAO_ORB_Core::default_sync_scope_hook (TAO_ORB_Core *,
+ TAO_Stub *,
+ bool &has_synchronization,
+ Messaging::SyncScope &scope)
+{
+ has_synchronization = true;
+ scope = Messaging::SYNC_WITH_TRANSPORT;
+}
+
+void
TAO_ORB_Core::call_sync_scope_hook (TAO_Stub *stub,
bool &has_synchronization,
Messaging::SyncScope &scope)