コード例 #1
0
 protected void notifyFailure(Session session, Throwable failure) {
   try {
     listener.onFailure(session, failure);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
コード例 #2
0
 protected void notifyClose(Session session, GoAwayFrame frame) {
   try {
     listener.onClose(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
コード例 #3
0
 protected void notifyReset(Session session, ResetFrame frame) {
   try {
     listener.onReset(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
コード例 #4
0
 protected void notifySettings(Session session, SettingsFrame frame) {
   try {
     listener.onSettings(session, frame);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
   }
 }
コード例 #5
0
 protected boolean notifyIdleTimeout(Session session) {
   try {
     return listener.onIdleTimeout(session);
   } catch (Throwable x) {
     LOG.info("Failure while notifying listener " + listener, x);
     return true;
   }
 }
コード例 #6
0
 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;
   }
 }