diff options
author | Jose <pepone@users.noreply.github.com> | 2024-09-30 16:57:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-30 16:57:24 +0200 |
commit | c2e07e9bee33ea3a19396dfe1d1fc202b11e65b9 (patch) | |
tree | e000da503db4608750cb4afbeba22d9abb1ac5ec /cpp/src/IceGrid/SessionI.cpp | |
parent | Add support for Clang 16 (#2774) (diff) | |
download | ice-c2e07e9bee33ea3a19396dfe1d1fc202b11e65b9.tar.bz2 ice-c2e07e9bee33ea3a19396dfe1d1fc202b11e65b9.tar.xz ice-c2e07e9bee33ea3a19396dfe1d1fc202b11e65b9.zip |
Fix IceGrid Glacier2 session managers to keep sessions alive (#2756)
Diffstat (limited to 'cpp/src/IceGrid/SessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/SessionI.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/SessionI.cpp b/cpp/src/IceGrid/SessionI.cpp index 16b27d53d11..4e6f377d14f 100644 --- a/cpp/src/IceGrid/SessionI.cpp +++ b/cpp/src/IceGrid/SessionI.cpp @@ -155,6 +155,12 @@ SessionI::~SessionI() { } +void +SessionI::ice_ping(const Ice::Current& current) const +{ + const_cast<SessionI*>(this)->keepAlive(current); +} + Ice::ObjectPrx SessionI::_register(const SessionServantManagerPtr& servantManager, const Ice::ConnectionPtr& con) { |