summaryrefslogtreecommitdiff
path: root/TAO/tao/Wait_Strategy.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 18:25:00 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 18:25:00 +0000
commitfb707c55e5be90306ab6ce887bf92cd5567ae159 (patch)
tree195f5aca59af7bb0313deec05f7228de6c2d02cd /TAO/tao/Wait_Strategy.cpp
parentd300bc7b0c2ab9de1e69939a399354b94656e9f2 (diff)
downloadATCD-fb707c55e5be90306ab6ce887bf92cd5567ae159.tar.gz
ChangeLogTag:Thu Jun 3 13:20:09 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Wait_Strategy.cpp')
-rw-r--r--TAO/tao/Wait_Strategy.cpp25
1 files changed, 7 insertions, 18 deletions
diff --git a/TAO/tao/Wait_Strategy.cpp b/TAO/tao/Wait_Strategy.cpp
index c1f3d7bde3b..0a9ebf0a4d5 100644
--- a/TAO/tao/Wait_Strategy.cpp
+++ b/TAO/tao/Wait_Strategy.cpp
@@ -19,18 +19,10 @@ TAO_Wait_Strategy::~TAO_Wait_Strategy (void)
}
int
-TAO_Wait_Strategy::send_request (TAO_ORB_Core *orb_core,
- TAO_OutputCDR &stream,
- int /* two_way */)
+TAO_Wait_Strategy::sending_request (TAO_ORB_Core * /* orb_core */,
+ int /* two_way */)
{
- int success = (int) TAO_GIOP::send_request (this->transport_,
- stream,
- this->transport_->orb_core ());
-
- if (!success)
- return -1;
- else
- return 0;
+ return 0;
}
// *********************************************************************
@@ -134,9 +126,8 @@ TAO_Wait_On_Leader_Follower::~TAO_Wait_On_Leader_Follower (void)
// with the <Transport> object and <two_way> flag wont make sense
// at this level since this is common for AMI also. (Alex).
int
-TAO_Wait_On_Leader_Follower::send_request (TAO_ORB_Core *orb_core,
- TAO_OutputCDR &stream,
- int two_way)
+TAO_Wait_On_Leader_Follower::sending_request (TAO_ORB_Core *orb_core,
+ int two_way)
{
{
ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon,
@@ -170,12 +161,10 @@ TAO_Wait_On_Leader_Follower::send_request (TAO_ORB_Core *orb_core,
// ago) about using the wrong ORB core, but that may have been
// fixed...
- // Obtain the lock.
// Send the request
int result =
- TAO_Wait_Strategy::send_request (orb_core,
- stream,
- two_way);
+ this->TAO_Wait_Strategy::sending_request (orb_core,
+ two_way);
if (result == -1)
{