summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/RouterInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/RouterInfo.h')
-rw-r--r--cpp/src/Ice/RouterInfo.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/cpp/src/Ice/RouterInfo.h b/cpp/src/Ice/RouterInfo.h
index 71d885cb394..32dacb0750a 100644
--- a/cpp/src/Ice/RouterInfo.h
+++ b/cpp/src/Ice/RouterInfo.h
@@ -15,6 +15,7 @@
#include <Ice/RouterInfoF.h>
#include <Ice/RouterF.h>
#include <Ice/ProxyF.h>
+#include <Ice/EndpointIF.h>
#include <set>
@@ -55,10 +56,8 @@ public:
bool operator<(const RouterInfo&) const;
Ice::RouterPrx getRouter() const;
- Ice::ObjectPrx getClientProxy();
- void setClientProxy(const Ice::ObjectPrx&);
- Ice::ObjectPrx getServerProxy();
- void setServerProxy(const Ice::ObjectPrx&);
+ std::vector<IceInternal::EndpointIPtr> getClientEndpoints();
+ std::vector<IceInternal::EndpointIPtr> getServerEndpoints();
void addProxy(const Ice::ObjectPrx&);
void setAdapter(const Ice::ObjectAdapterPtr&);
Ice::ObjectAdapterPtr getAdapter() const;
@@ -66,8 +65,8 @@ public:
private:
const Ice::RouterPrx _router;
- Ice::ObjectPrx _clientProxy;
- Ice::ObjectPrx _serverProxy;
+ std::vector<IceInternal::EndpointIPtr> _clientEndpoints;
+ std::vector<IceInternal::EndpointIPtr> _serverEndpoints;
Ice::ObjectAdapterPtr _adapter;
std::set<Ice::Identity> _identities;
};