summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Stub.h')
-rw-r--r--TAO/tao/Stub.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/TAO/tao/Stub.h b/TAO/tao/Stub.h
index d1509c76a92..15685eb7c38 100644
--- a/TAO/tao/Stub.h
+++ b/TAO/tao/Stub.h
@@ -43,10 +43,6 @@ class TAO_Policy_Manager_Impl;
enum TAO_Param_Type
{
- // @@ Is there any use for this enum? I would assume that the
- // similar ones on corbfwd.h are enough!
- // @@ Jeff: can you check into that?
-
// = TITLE
// TAO_Param_Type
// =DESCRIPTION
@@ -309,7 +305,13 @@ public:
// Our Constructors ...
TAO_Stub (char *repository_id,
- const TAO_MProfile &profiles,
+ TAO_MProfile *profiles,
+ TAO_ORB_Core *orb_core);
+ // Construct from a repository ID and a pointer to list of
+ // profiles. Assumes ownership of the profiles.
+
+ TAO_Stub (char *repository_id,
+ TAO_MProfile &profiles,
TAO_ORB_Core *orb_core);
// Construct from a repository ID and a list of profiles.
@@ -366,11 +368,11 @@ public:
// returns TRUE if a connection was successful with at least
// one profile.
- TAO_Profile *set_base_profiles (const TAO_MProfile& mprofiles);
+ TAO_Profile *set_base_profiles (TAO_MProfile *mprofiles);
// Initialize the base_profiles_ and set profile_in_use_ to
// reference the first profile.
- void add_forward_profiles (const TAO_MProfile &mprofiles);
+ void add_forward_profiles (TAO_MProfile *mprofiles);
// THREAD SAFE.
// set the forward_profiles. This object will assume ownership of
// this TAO_MProfile object!!
@@ -430,6 +432,10 @@ private:
// NON-THREAD-SAFE. utility method for next_profile.
private:
+ // @@ For now, we keep track of transport specific profiles here,
+ // but in the next iteration this will go away ... only transport
+ // neutral info is kept here => TAO_Stub should also go away!
+ // fredk
TAO_MProfile base_profiles_;
// ordered list of profiles for this object.
TAO_MProfile *forward_profiles_;