summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h
index 8b6b853fa64..5037ace92f1 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_GenericFactory.h
@@ -119,21 +119,21 @@ public:
* This method is only used by the TAO_PG_ObjectGroupManager class
* when ObjectGroupManager::remove_member() is explicitly called.
*/
- void delete_member (PortableGroup::ObjectGroupId group_id,
+ void delete_member (CORBA::ULong group_id,
const PortableGroup::Location & location
ACE_ENV_ARG_DECL);
- /// Verify that the MinimumNumberReplicas criterion is satisfied.
+ /// Verify that the MinimumNumberMembers criterion is satisfied.
/**
* If the current number of members in the given object group is
- * less than the MinimumNumberReplicas criterion in effect for that
+ * less than the MinimumNumberMembers criterion in effect for that
* group, the infrastructure will attempt create and add more
* members to the group by invoking any unused application-supplied
* GenericFactorys.
*/
void check_minimum_number_members (
PortableGroup::ObjectGroup_ptr object_group,
- PortableGroup::ObjectGroupId group_id,
+ CORBA::ULong group_id,
const char * type_id
ACE_ENV_ARG_DECL);
@@ -154,7 +154,7 @@ public:
PortableGroup::InvalidCriteria,
PortableGroup::InvalidProperty,
PortableGroup::CannotMeetCriteria,
- PortableGroup::MemberAlreadyPresent));
+ PortableGroup::MemberAlreadyPresent));
private:
@@ -169,12 +169,20 @@ private:
TAO_PG_Factory_Set & factory_set
ACE_ENV_ARG_DECL);
+ /// Get a new ObjectId to be used when creating a new ObjectGroup.
+ /**
+ * An ObjectId created by this method will never be reused within
+ * the scope of a given ReplicationManager. A value suitable for
+ * use in a map association <ext_id> is also returned.
+ */
+ void get_ObjectId (CORBA::ULong fcid,
+ PortableServer::ObjectId_out oid);
/// Process criteria to be applied to the object group being
/// created.
/**
- * Only the MemberShipStyle, Factories, InitialNumberReplicas and
- * MinimumNumberReplicas criteria/properties are defined by the
+ * Only the MemberShipStyle, Factories, InitialNumberMembers and
+ * MinimumNumberMembers criteria/properties are defined by the
* PortableGroup IDL. Other services that implement the
* GenericFactory interface, such as load balancing and fault
* tolerance, may choose to support more.
@@ -224,9 +232,7 @@ private:
* addition to another value that makes it unique to a given Load
* Balancer.
*/
-// CORBA::ULong next_fcid_;
-
- const char * domain_id_;
+ CORBA::ULong next_fcid_;
/// Lock used to synchronize access to the factory creation id
/// index (i.e. next_fcid_).