diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-12-07 12:26:16 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-12-07 12:26:16 +0000 |
commit | 687eda4d1d6ab70e67c626a4cfa83e73672c5001 (patch) | |
tree | f1569d083da5e1691793b4ddb7d08c11cf447c2f /cpp/src/IceGrid/NodeSessionI.cpp | |
parent | Made DEBUG the default build setting. (diff) | |
download | ice-687eda4d1d6ab70e67c626a4cfa83e73672c5001.tar.bz2 ice-687eda4d1d6ab70e67c626a4cfa83e73672c5001.tar.xz ice-687eda4d1d6ab70e67c626a4cfa83e73672c5001.zip |
Improved FileIterator interface Changed patch() operation on the node to
use a callback object.
Diffstat (limited to 'cpp/src/IceGrid/NodeSessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeSessionI.cpp | 10 |
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(); |