diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-08 20:19:55 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-08 20:19:55 +0000 |
commit | 88aa7fad74d32cbb6e671ad14cdde00742d5ee23 (patch) | |
tree | 9fb556cb489f7849e7dbca096364aeab06560015 /TAO/tao/Stub.i | |
parent | c122ed4ef6b4c3db15b482359638f85aaad3de49 (diff) | |
download | ATCD-88aa7fad74d32cbb6e671ad14cdde00742d5ee23.tar.gz |
ChangeLogTag:Mon Feb 8 13:43:10 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r-- | TAO/tao/Stub.i | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i index e292b2841f8..c40bdb8fb66 100644 --- a/TAO/tao/Stub.i +++ b/TAO/tao/Stub.i @@ -57,24 +57,6 @@ STUB_Object::set_profile_in_use_i (TAO_Profile *pfile) } ACE_INLINE -STUB_Object::STUB_Object (char *repository_id) - : type_id (repository_id), - base_profiles_ ((CORBA::ULong) 0), - fwd_profiles_ (0), - profile_in_use_ (0), - fwd_profile_ (0), - profile_lock_ptr_ (0), - fwd_profile_success_ (0), - // what about ACE_SYNCH_MUTEX refcount_lock_ - refcount_ (1), - use_locate_request_ (0), - first_locate_request_ (0) -{ - this->profile_lock_ptr_ = - TAO_ORB_Core_instance ()->client_factory ()->create_iiop_profile_lock (); -} - -ACE_INLINE TAO_Profile * STUB_Object::set_profiles (TAO_MProfile *mprofiles) { @@ -91,80 +73,6 @@ STUB_Object::set_profiles (TAO_MProfile *mprofiles) } ACE_INLINE -STUB_Object::STUB_Object (char *repository_id, - TAO_MProfile &profiles) - : type_id (repository_id), - base_profiles_ ((CORBA::ULong) 0), - fwd_profiles_ (0), - profile_in_use_ (0), - fwd_profile_ (0), - profile_lock_ptr_ (0), - fwd_profile_success_ (0), - // what about ACE_SYNCH_MUTEX refcount_lock_ - refcount_ (1), - use_locate_request_ (0), - first_locate_request_ (0) -{ - - this->profile_lock_ptr_ = - TAO_ORB_Core_instance ()->client_factory ()->create_iiop_profile_lock (); - - set_profiles (&profiles); -} - -ACE_INLINE -STUB_Object::STUB_Object (char *repository_id, - TAO_Profile *profile) - : type_id (repository_id), - base_profiles_ ((CORBA::ULong) 0), - fwd_profiles_ (0), - profile_in_use_ (0), - fwd_profile_ (0), - profile_lock_ptr_ (0), - fwd_profile_success_ (0), - // what about ACE_SYNCH_MUTEX refcount_lock_ - refcount_ (1), - use_locate_request_ (0), - first_locate_request_ (0) -{ - // @@ XXX need to verify type and deal with wrong types - - this->profile_lock_ptr_ = - TAO_ORB_Core_instance ()->client_factory ()->create_iiop_profile_lock (); - - base_profiles_.set (1); - base_profiles_.add_profile (profile); - this->set_profile_in_use_i (this->base_profiles_.get_next ()); -} - -ACE_INLINE -STUB_Object::STUB_Object (char *repository_id, - TAO_MProfile *profiles) - : type_id (repository_id), - base_profiles_ ((CORBA::ULong) 0), - fwd_profiles_ (0), - profile_in_use_ (0), - fwd_profile_ (0), - profile_lock_ptr_ (0), - fwd_profile_success_ (0), - // what about ACE_SYNCH_MUTEX refcount_lock_ - refcount_ (1), - use_locate_request_ (0), - first_locate_request_ (0) -{ - ACE_UNUSED_ARG (repository_id); - - // @@ XXX need to verify type and deal with wrong types - - // @@ does this need to be freed? - this->profile_lock_ptr_ = - TAO_ORB_Core_instance ()->client_factory ()->create_iiop_profile_lock (); - - set_profiles (profiles); - -} - -ACE_INLINE TAO_Profile * STUB_Object::profile_in_use (void) { |