summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.i
diff options
context:
space:
mode:
authorfredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 23:37:32 +0000
committerfredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 23:37:32 +0000
commit05079dfe47f146a7a4b19ace9dca5a769532a899 (patch)
treeed89b8e93cd8d38882265703b07037721514ec9c /TAO/tao/Stub.i
parent7e74e920e8dcf156874829a0cb222f54669c621b (diff)
downloadATCD-05079dfe47f146a7a4b19ace9dca5a769532a899.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r--TAO/tao/Stub.i26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i
index bc3392e14b4..5b4110f31f4 100644
--- a/TAO/tao/Stub.i
+++ b/TAO/tao/Stub.i
@@ -259,3 +259,29 @@ STUB_Object::add_forward_profiles (TAO_MProfile *mprofiles)
forward_profiles_->rewind ();
}
+
+ACE_INLINE
+CORBA::Boolean
+STUB_Object::next_profile_retry (void)
+{
+ ACE_MT (ACE_GUARD_RETURN (ACE_Lock,
+ guard,
+ *this->profile_lock_ptr_,
+ 0));
+
+ if (profile_success_ && forward_profiles_)
+ {
+ reset_profiles_i ();
+ return 1;
+ }
+ else if (next_profile_i ())
+ {
+ return 1;
+ }
+ else
+ {
+ reset_profiles_i ();
+ return 0;
+ }
+}
+