summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionManager.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-12-12 08:52:16 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-12-12 08:52:16 +0000
commit2c767a34f8da6b2cb1e015398818e42b545be4b2 (patch)
tree53f70bb3455426c80e1c5a5a15ac0bf2e1f4541c /cpp/src/IceGrid/SessionManager.h
parentFirst cut for ShowLogDialog (diff)
downloadice-2c767a34f8da6b2cb1e015398818e42b545be4b2.tar.bz2
ice-2c767a34f8da6b2cb1e015398818e42b545be4b2.tar.xz
ice-2c767a34f8da6b2cb1e015398818e42b545be4b2.zip
Added timeouts
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r--cpp/src/IceGrid/SessionManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h
index 84dafe96310..c4ebfc887f6 100644
--- a/cpp/src/IceGrid/SessionManager.h
+++ b/cpp/src/IceGrid/SessionManager.h
@@ -76,6 +76,7 @@ public:
{
_registry = registry;
}
+
if(_nextAction == Connect && _state == Connected)
{
_nextAction = KeepAlive;
@@ -121,7 +122,7 @@ public:
assert(_nextAction != None);
action = _nextAction;
- registry = _registry;
+ registry = InternalRegistryPrx::uncheckedCast(_registry->ice_timeout(timeout.toMilliSeconds()));
_nextAction = None;
_state = InProgress;
notifyAll();