Exemplo n.º 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);
   }
 }
Exemplo n.º 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);
   }
 }
Exemplo n.º 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);
   }
 }
Exemplo n.º 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);
   }
 }
Exemplo n.º 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;
   }
 }
Exemplo n.º 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;
   }
 }