Class EventWebSocket
java.lang.Object
org.openhab.core.io.websocket.event.EventWebSocket
The
EventWebSocket
is the WebSocket implementation that extends the event bus- Author:
- Jan N. Klug - Initial contribution
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEventWebSocket
(com.google.gson.Gson gson, EventWebSocketAdapter wsAdapter, ItemEventUtility itemEventUtility, EventPublisher eventPublisher) -
Method Summary
-
Field Details
-
WEBSOCKET_EVENT_TYPE
- See Also:
-
WEBSOCKET_TOPIC_PREFIX
- See Also:
-
-
Constructor Details
-
EventWebSocket
public EventWebSocket(com.google.gson.Gson gson, EventWebSocketAdapter wsAdapter, ItemEventUtility itemEventUtility, EventPublisher eventPublisher)
-
-
Method Details
-
onClose
-
onConnect
@OnWebSocketConnect public void onConnect(org.eclipse.jetty.websocket.api.Session session) -
onText
-
onError
@OnWebSocketError public void onError(org.eclipse.jetty.websocket.api.Session session, Throwable error) -
processEvent
-