summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeSessionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/NodeSessionI.cpp')
-rw-r--r--cpp/src/IceGrid/NodeSessionI.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeSessionI.cpp b/cpp/src/IceGrid/NodeSessionI.cpp
index c0e916684b9..ee87d6ac16c 100644
--- a/cpp/src/IceGrid/NodeSessionI.cpp
+++ b/cpp/src/IceGrid/NodeSessionI.cpp
@@ -99,9 +99,17 @@ NodeSessionI::getObserver(const Ice::Current& current) const
}
void
-NodeSessionI::loadServers(const Ice::Current& current) const
+NodeSessionI::loadServers_async(const AMD_NodeSession_loadServersPtr& amdCB, const Ice::Current& current) const
{
//
+ // No need to wait for the servers to be loaded. If we were
+ // waiting, we would have to figure out an appropriate timeout for
+ // calling this method since each load() call might take time to
+ // complete.
+ //
+ amdCB->ice_response();
+
+ //
// Get the server proxies to load them on the node.
//
Ice::StringSeq servers = _database->getNode(_info.name)->getServers();