summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation_Base.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-07-02 13:00:34 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-07-02 13:00:34 +0000
commitbbdb23dfa82a359a1167f211b4bd336a3adae8d8 (patch)
tree632b48b95a652bbb3f5662a8e8660ab52e93cf60 /TAO/tao/Invocation_Base.cpp
parentc60fae009c0f3d3b7f4799aef7297f006008b30b (diff)
downloadATCD-bbdb23dfa82a359a1167f211b4bd336a3adae8d8.tar.gz
Dummy entry
Diffstat (limited to 'TAO/tao/Invocation_Base.cpp')
-rw-r--r--TAO/tao/Invocation_Base.cpp18
1 files changed, 5 insertions, 13 deletions
diff --git a/TAO/tao/Invocation_Base.cpp b/TAO/tao/Invocation_Base.cpp
index 53793b7b4d0..0f2a1a36a24 100644
--- a/TAO/tao/Invocation_Base.cpp
+++ b/TAO/tao/Invocation_Base.cpp
@@ -46,18 +46,13 @@ namespace TAO
return stub->orb_core ()->invoke_services ();
*/
- TAO_Invocation_Endpoint_Selector *es =
- stub->orb_core ()->endpoint_selector_factory ()->get_selector (
- ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
-
-
Connection_Resolver resolver (stub);
- TAO_Transport *t = resolver.resolve (es
- ACE_ENV_ARG_PARAMETER);
+ TAO_Transport *t =
+ resolver.resolve (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
+
if (this->type_ == TAO_ONEWAY_INVOCATION)
{
// @@ Do Nothing at this point
@@ -65,12 +60,9 @@ namespace TAO
else if (this->type_ == TAO_TWOWAY_INVOCATION
&& this->mode_ == TAO_SYNCHRONOUS_INVOCATION)
{
- Synch_Invocation synch_invocation (stub);
-
- synch_invocation.connect (endpoint_selector);
- synch_invocation.invoke ();
+ TAO::Synch_Twoway_Invocation synch;
+ synch.invoke ();
synch_invocation.wait ();
-
}
else if (this->type_ == TAO_TWOWAY_INVOCATION
&& this->mode_ == TAO_ASYNCHRONOUS_INVOCATION)