Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getSessionTimeout()

std::int32_t IceGrid::RegistryPrx::getSessionTimeout ( const Ice::Context & context = Ice::noExplicitContext) const

Gets the session timeout.

An Ice 3.7 or earlier client can use this value to determine how often it needs to send heartbeats (using ACM) or call IceGrid::SessionPrx::keepAlive (resp. IceGrid::AdminSessionPrx::keepAlive) to keep a session alive in the IceGrid registry.

Parameters
contextThe request context.
Returns
The session timeout (in seconds).