summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/LocatorInfo.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-07-03 18:57:10 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-07-03 18:57:10 +0000
commit5ed96da8ba21f627dfe529b88f66cefa5c7c4f01 (patch)
tree65d8cdfd40b04e115c33d3a62e05c76e6d07a3b1 /cpp/src/Ice/LocatorInfo.h
parentMore work on constant definitions. For C++, code is generated now (not (diff)
downloadice-5ed96da8ba21f627dfe529b88f66cefa5c7c4f01.tar.bz2
ice-5ed96da8ba21f627dfe529b88f66cefa5c7c4f01.tar.xz
ice-5ed96da8ba21f627dfe529b88f66cefa5c7c4f01.zip
Fixes from Marc review.
Diffstat (limited to 'cpp/src/Ice/LocatorInfo.h')
-rw-r--r--cpp/src/Ice/LocatorInfo.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpp/src/Ice/LocatorInfo.h b/cpp/src/Ice/LocatorInfo.h
index 9bee858982f..2efeb642102 100644
--- a/cpp/src/Ice/LocatorInfo.h
+++ b/cpp/src/Ice/LocatorInfo.h
@@ -50,7 +50,7 @@ public:
bool get(const std::string&, ::std::vector<EndpointPtr>&) const;
void add(const std::string&, const ::std::vector<EndpointPtr>&);
- void remove(const std::string&);
+ ::std::vector<EndpointPtr> remove(const std::string&);
private:
@@ -67,12 +67,11 @@ public:
bool operator!=(const LocatorInfo&) const;
bool operator<(const LocatorInfo&) const;
- ::Ice::LocatorPrx getLocator();
+ ::Ice::LocatorPrx getLocator() const;
::Ice::LocatorRegistryPrx getLocatorRegistry();
- bool getEndpoints(const ReferencePtr&, ::std::vector<EndpointPtr>&) const;
- void addEndpoints(const ReferencePtr&, const ::std::vector<EndpointPtr>&);
- void removeEndpoints(const ReferencePtr&);
+ std::vector<EndpointPtr> getEndpoints(const ReferencePtr&, bool&);
+ void clearCache(const ReferencePtr&);
private: