Class OnNotification
- java.lang.Object
-
- io.openems.backend.uiwebsocket.impl.OnNotification
-
- All Implemented Interfaces:
OnNotification
public class OnNotification extends java.lang.Object implements OnNotification
-
-
Constructor Summary
Constructors Constructor Description OnNotification(UiWebsocketImpl parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(org.java_websocket.WebSocket ws, JsonrpcNotification notification)
Handles a JSON-RPC notification.
-
-
-
Constructor Detail
-
OnNotification
public OnNotification(UiWebsocketImpl parent)
-
-
Method Detail
-
run
public void run(org.java_websocket.WebSocket ws, JsonrpcNotification notification) throws OpenemsException
Description copied from interface:OnNotification
Handles a JSON-RPC notification.- Specified by:
run
in interfaceOnNotification
- Parameters:
ws
- the WebSocketnotification
- the JSON-RPC Notification- Throws:
OpenemsException
-
-