expect_msg(GRACEFUL_SESSION_END)</code>, so we can detect its arrival and mark it down as needed and possibly invoke <code>this_session-&gt;<a class="el" href="classipc_1_1session_1_1Session__base.html#a7f9e67dccbab4f3191734c2834bafb63" title="Marks this session as hosed for (truthy) reason err_code; and synchronously invokes on-error handler;...">hose()</a></code> to report it to the user. Hence there's no method you'll need to call nor any setup like this needed on your part.</li>
<li><a class="el" href="