diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-09-25 16:24:32 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-09-25 16:24:32 +0000 |
commit | 77ee1996bb672c6f9072c95a35a7c7cf12db1d66 (patch) | |
tree | b2caa99114b7ea576283aa9c49937569cc43dd67 /cpp/src | |
parent | Added proxy comparison test (diff) | |
download | ice-77ee1996bb672c6f9072c95a35a7c7cf12db1d66.tar.bz2 ice-77ee1996bb672c6f9072c95a35a7c7cf12db1d66.tar.xz ice-77ee1996bb672c6f9072c95a35a7c7cf12db1d66.zip |
Minor naming convention fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 6 | ||||
-rw-r--r-- | cpp/src/Ice/Reference.h | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index 829af4c4dbe..11b33cf6c56 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -441,7 +441,7 @@ IceInternal::FixedReference::getFixedConnections() const Reference::Type IceInternal::FixedReference::getType() const { - return Fixed; + return TypeFixed; } bool @@ -1219,7 +1219,7 @@ IceInternal::DirectReference::getEndpoints() const Reference::Type IceInternal::DirectReference::getType() const { - return Direct; + return TypeDirect; } int @@ -1474,7 +1474,7 @@ IceInternal::IndirectReference::getEndpoints() const Reference::Type IceInternal::IndirectReference::getType() const { - return Indirect; + return TypeIndirect; } int diff --git a/cpp/src/Ice/Reference.h b/cpp/src/Ice/Reference.h index caa3a9fb169..a483d612015 100644 --- a/cpp/src/Ice/Reference.h +++ b/cpp/src/Ice/Reference.h @@ -33,6 +33,13 @@ class Reference : public IceUtil::Shared { public: + enum Type + { + TypeDirect, + TypeIndirect, + TypeFixed + }; + enum Mode { ModeTwoway, @@ -43,13 +50,6 @@ public: ModeLast = ModeBatchDatagram }; - enum Type - { - Fixed, - Direct, - Indirect - }; - Mode getMode() const { return _mode; } const Ice::Identity& getIdentity() const { return _identity; } const std::string& getFacet() const { return _facet; } |