protected void notifyFailure(Session session, Throwable failure) {
   try {
     listener.onFailure(session, failure);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
 protected void notifyClose(Session session, GoAwayFrame frame) {
   try {
     listener.onClose(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
 protected void notifyReset(Session session, ResetFrame frame) {
   try {
     listener.onReset(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
 protected void notifySettings(Session session, SettingsFrame frame) {
   try {
     listener.onSettings(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
 protected boolean notifyIdleTimeout(Session session) {
   try {
     return listener.onIdleTimeout(session);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
     return true;
   }
 }
 protected Stream.Listener notifyNewStream(Stream stream, HeadersFrame frame) {
   try {
     return listener.onNewStream(stream, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
     return null;
   }
 }