summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-09-20 00:16:09 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-09-20 00:16:09 +0000
commitf00b87ae4d0c8183b2adf2faa0b66f52f9b384e5 (patch)
tree0af3f03db429d041b9189ebe59e8ab3b3ae806d5 /TAO/tao/ORB_Core.h
parentd6a65b82f614f98a9e4a0a04d97624d215691e6d (diff)
downloadATCD-f00b87ae4d0c8183b2adf2faa0b66f52f9b384e5.tar.gz
ChangeLogTag:Tue Sep 19 16:49:23 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/ORB_Core.h')
-rw-r--r--TAO/tao/ORB_Core.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index 5c7e43ce669..7ba2f462953 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -215,23 +215,23 @@ public:
enum TAO_Collocation_Strategies
{
- REMOTE_STRATEGY = 0, // i.e. no collocation.
+ REMOTE_STRATEGY, // i.e. no collocation.
- THRU_POA_STRATEGY = 1, // Calls to the collocated object are
- // forwarded by the POA.
+ THRU_POA_STRATEGY, // Calls to the collocated object are
+ // forwarded by the POA.
- DIRECT_STRATEGY = 2 // Calls to the collocated object are
- // made directly to its servant.
- };
-
- enum
- {
- COLLOCATION_STRATEGIES_NUM = 3
+ DIRECT_STRATEGY, // Calls to the collocated object are
+ // made directly to its servant.
+
+ COLLOCATION_STRATEGIES_NUM // This value should always be the
+ // last value in the enumeration. It
+ // provides the count for the number
+ // of collocation strategies.
};
static TAO_Collocation_Strategies collocation_strategy (CORBA::Object_ptr object);
- // This methods give the right collocation strategy, if any,
- // to be used to perform a method invokation on the given object.
+ // This methods give the right collocation strategy, if any,
+ // to be used to perform a method invokation on the given object.
// (Note that No-Collocation is a special case of collocation).