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

◆ getSessionTimeoutAsync() [1/2]

std::future< std::int32_t > IceGrid::RegistryPrx::getSessionTimeoutAsync ( const Ice::Context & context = Ice::noExplicitContext) const
nodiscard

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
A future that becomes available when the invocation completes. This future holds:
  • The session timeout (in seconds).