diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-08-03 10:47:35 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-08-03 10:47:35 -0230 |
commit | a48698a721b713123e42b25a64b8f8eef1c0f6ec (patch) | |
tree | e333051b29adfbc159a35a174afaa67f8c82970f /cpp/src/Ice/LocatorInfo.h | |
parent | Movce icegridgui scripts to ice-packaging repository (diff) | |
download | ice-a48698a721b713123e42b25a64b8f8eef1c0f6ec.tar.bz2 ice-a48698a721b713123e42b25a64b8f8eef1c0f6ec.tar.xz ice-a48698a721b713123e42b25a64b8f8eef1c0f6ec.zip |
ICE-6624 renamed overloaded functions that cause issues with some compilers
Diffstat (limited to 'cpp/src/Ice/LocatorInfo.h')
-rw-r--r-- | cpp/src/Ice/LocatorInfo.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/cpp/src/Ice/LocatorInfo.h b/cpp/src/Ice/LocatorInfo.h index 5fc704cc673..b283a66bb8b 100644 --- a/cpp/src/Ice/LocatorInfo.h +++ b/cpp/src/Ice/LocatorInfo.h @@ -58,7 +58,7 @@ public: LocatorTable(); void clear(); - + bool getAdapterEndpoints(const std::string&, int, ::std::vector<EndpointIPtr>&); void addAdapterEndpoints(const std::string&, const ::std::vector<EndpointIPtr>&); ::std::vector<EndpointIPtr> removeAdapterEndpoints(const std::string&); @@ -66,7 +66,7 @@ public: bool getObjectReference(const Ice::Identity&, int, ReferencePtr&); void addObjectReference(const Ice::Identity&, const ReferencePtr&); ReferencePtr removeObjectReference(const Ice::Identity&); - + private: bool checkTTL(const IceUtil::Time&, int) const; @@ -82,7 +82,7 @@ public: class GetEndpointsCallback : virtual public IceUtil::Shared { public: - + virtual void setEndpoints(const std::vector<EndpointIPtr>&, bool) = 0; virtual void setException(const Ice::LocalException&) = 0; }; @@ -111,7 +111,7 @@ public: void addCallback(const ReferencePtr&, const ReferencePtr&, int, const GetEndpointsCallbackPtr&); std::vector<EndpointIPtr> getEndpoints(const ReferencePtr&, const ReferencePtr&, int, bool&); - + void response(const Ice::ObjectPrx&); void exception(const Ice::Exception&); @@ -157,12 +157,13 @@ public: { return getEndpoints(ref, 0, ttl, cached); } - void getEndpoints(const ReferencePtr& ref, int ttl, const GetEndpointsCallbackPtr& cb) + std::vector<EndpointIPtr> getEndpoints(const ReferencePtr&, const ReferencePtr&, int, bool&); + + void getEndpointsWithCallback(const ReferencePtr& ref, int ttl, const GetEndpointsCallbackPtr& cb) { - getEndpoints(ref, 0, ttl, cb); + getEndpointsWithCallback(ref, 0, ttl, cb); } - std::vector<EndpointIPtr> getEndpoints(const ReferencePtr&, const ReferencePtr&, int, bool&); - void getEndpoints(const ReferencePtr&, const ReferencePtr&, int, const GetEndpointsCallbackPtr&); + void getEndpointsWithCallback(const ReferencePtr&, const ReferencePtr&, int, const GetEndpointsCallbackPtr&); void clearCache(const ReferencePtr&); |