Class BasicHueEventHandler

java.lang.Object
io.github.zeroone3010.yahueapi.v2.BasicHueEventHandler
All Implemented Interfaces:
com.launchdarkly.eventsource.EventHandler

public class BasicHueEventHandler
extends Object
implements com.launchdarkly.eventsource.EventHandler
  • Field Details

  • Constructor Details

  • Method Details

    • onOpen

      public void onOpen() throws Exception
      Specified by:
      onOpen in interface com.launchdarkly.eventsource.EventHandler
      Throws:
      Exception
    • onClosed

      public void onClosed() throws Exception
      Specified by:
      onClosed in interface com.launchdarkly.eventsource.EventHandler
      Throws:
      Exception
    • onMessage

      public void onMessage​(String event, com.launchdarkly.eventsource.MessageEvent messageEvent) throws Exception
      Specified by:
      onMessage in interface com.launchdarkly.eventsource.EventHandler
      Throws:
      Exception
    • onComment

      public void onComment​(String comment)
      Specified by:
      onComment in interface com.launchdarkly.eventsource.EventHandler
    • onError

      public void onError​(Throwable t)
      Specified by:
      onError in interface com.launchdarkly.eventsource.EventHandler