summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-12-07 15:31:48 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-12-07 15:31:48 +0000
commitcbde90b8cc32ec3863c2d78a0ed62e1b986aebe4 (patch)
treef60a3e21a1a066f4ded02d6378c0cf9318a14460 /cpp/src/IceGrid/NodeCache.h
parentReplicate TopicManager as well (diff)
downloadice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.tar.bz2
ice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.tar.xz
ice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.zip
Fixed bug 1603
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.h')
-rw-r--r--cpp/src/IceGrid/NodeCache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/NodeCache.h b/cpp/src/IceGrid/NodeCache.h
index c61c1363ea3..8493921cb7e 100644
--- a/cpp/src/IceGrid/NodeCache.h
+++ b/cpp/src/IceGrid/NodeCache.h
@@ -28,6 +28,7 @@ typedef IceUtil::Handle<NodeSessionI> NodeSessionIPtr;
class ServerEntry;
typedef IceUtil::Handle<ServerEntry> ServerEntryPtr;
+typedef std::vector<ServerEntryPtr> ServerEntrySeq;
class ReplicaCache;
@@ -48,13 +49,13 @@ public:
NodePrx getProxy() const;
NodeInfo getInfo() const;
- Ice::StringSeq getServers() const;
+ ServerEntrySeq getServers() const;
LoadInfo getLoadInfoAndLoadFactor(const std::string&, float&) const;
bool canRemove();
void loadServer(const ServerEntryPtr&, const ServerInfo&, const SessionIPtr&, int);
- void destroyServer(const ServerEntryPtr&, const ServerInfo&);
+ void destroyServer(const ServerEntryPtr&, const ServerInfo&, int);
ServerInfo getServerInfo(const ServerInfo&, const SessionIPtr&);
void __incRef();