Class EventWebSocket

java.lang.Object
org.openhab.core.io.websocket.event.EventWebSocket

@WebSocket @NonNullByDefault public class EventWebSocket extends Object
The EventWebSocket is the WebSocket implementation that extends the event bus
Author:
Jan N. Klug - Initial contribution
  • Field Details

  • Constructor Details

  • Method Details

    • onClose

      @OnWebSocketClose public void onClose(int statusCode, String reason)
    • onConnect

      @OnWebSocketConnect public void onConnect(org.eclipse.jetty.websocket.api.Session session)
    • onText

      @OnWebSocketMessage public void onText(String message)
    • onError

      @OnWebSocketError public void onError(org.eclipse.jetty.websocket.api.Session session, Throwable error)
    • processEvent

      public void processEvent(Event event)