diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-09-25 16:00:16 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-09-25 16:00:16 +0000 |
commit | 05314b52d3d4454cd9e1b19f5b30d63aac4ab55c (patch) | |
tree | a3fe26ce4cd3115f6c4f1cbcc5042f78876056d0 /cppe/src/IceE/Reference.h | |
parent | Fixed a bug in proxy comparison (diff) | |
download | ice-05314b52d3d4454cd9e1b19f5b30d63aac4ab55c.tar.bz2 ice-05314b52d3d4454cd9e1b19f5b30d63aac4ab55c.tar.xz ice-05314b52d3d4454cd9e1b19f5b30d63aac4ab55c.zip |
Fixed a proxy comparison bug
Diffstat (limited to 'cppe/src/IceE/Reference.h')
-rw-r--r-- | cppe/src/IceE/Reference.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cppe/src/IceE/Reference.h b/cppe/src/IceE/Reference.h index 5557fbcef95..7c2de6714ed 100644 --- a/cppe/src/IceE/Reference.h +++ b/cppe/src/IceE/Reference.h @@ -47,6 +47,13 @@ public: ModeLast = ModeBatchDatagram }; + enum Type + { + Fixed, + Direct, + Indirect + }; + Mode getMode() const { return _mode; } bool getSecure() const { return _secure; }; const Ice::Identity& getIdentity() const { return _identity; } @@ -58,6 +65,7 @@ public: Ice::CommunicatorPtr getCommunicator() const; + virtual Type getType() const = 0; #ifdef ICEE_HAS_ROUTER virtual RouterInfoPtr getRouterInfo() const { return 0; } #endif @@ -150,6 +158,7 @@ public: const std::vector<Ice::ConnectionPtr>& getFixedConnections() const; + virtual Type getType() const; virtual std::vector<EndpointPtr> getEndpoints() const; #ifdef ICEE_HAS_ROUTER @@ -229,6 +238,7 @@ public: #endif ); + virtual Type getType() const; virtual std::vector<EndpointPtr> getEndpoints() const; DirectReferencePtr changeEndpoints(const std::vector<EndpointPtr>&) const; @@ -285,6 +295,7 @@ public: virtual LocatorInfoPtr getLocatorInfo() const { return _locatorInfo; } + virtual Type getType() const; virtual std::vector<EndpointPtr> getEndpoints() const; virtual ReferencePtr changeLocator(const Ice::LocatorPrx&) const; |