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

◆ getSessionTimeoutAsync()

virtual void IceGrid::AsyncRegistry::getSessionTimeoutAsync ( std::function< void(std::int32_t returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current ) const
pure virtual

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
responseThe response callback. It accepts:
  • The session timeout (in seconds).
exceptionThe exception callback.
currentThe Current object of the incoming request.