private void shutdown(ISession session) { if (session != null && !getEndPoint().isOutputShutdown()) session.shutdown(); }
protected void goAway(ISession session) { if (session != null) session.goAway(new GoAwayInfo(), new Callback.Adapter()); }