Class ClientEventHandler


  • public class ClientEventHandler
    extends java.lang.Object
    • Constructor Detail

      • ClientEventHandler

        public ClientEventHandler​(java.lang.String clientName,
                                  ClientEventCallback callback)
    • Method Detail

      • httpRequestSuccess

        public void httpRequestSuccess​(okhttp3.Request request)
      • httpRequestInvalid

        public void httpRequestInvalid​(okhttp3.Request request,
                                       java.lang.Throwable throwable)
      • httpRequestFailure

        public void httpRequestFailure​(okhttp3.Request request,
                                       java.lang.Throwable throwable)
      • cachePollingError

        public void cachePollingError​(CacheDescriptor cacheDescriptor,
                                      java.lang.Throwable throwable)
      • cachePollingSuccess

        public void cachePollingSuccess​(CacheDescriptor cacheDescriptor,
                                        boolean withNotification,
                                        java.time.Duration duration)
      • stop

        public void stop()