Class SSEManager


  • public class SSEManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SSEManager​(java.net.URI uri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void restart​(java.net.URI uri, java.util.function.Function<com.launchdarkly.eventsource.MessageEvent,​java.lang.Void> messageHandler, java.util.function.Function<com.launchdarkly.eventsource.FaultEvent,​java.lang.Void> errorHandler, java.util.function.Function<com.launchdarkly.eventsource.StartedEvent,​java.lang.Void> stateHandler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSEManager

        public SSEManager​(java.net.URI uri)
    • Method Detail

      • close

        public void close()
      • restart

        public void restart​(java.net.URI uri,
                            java.util.function.Function<com.launchdarkly.eventsource.MessageEvent,​java.lang.Void> messageHandler,
                            java.util.function.Function<com.launchdarkly.eventsource.FaultEvent,​java.lang.Void> errorHandler,
                            java.util.function.Function<com.launchdarkly.eventsource.StartedEvent,​java.lang.Void> stateHandler)