Package io.openems.backend.edgewebsocket
Class OnNotification
java.lang.Object
io.openems.backend.edgewebsocket.OnNotification
- All Implemented Interfaces:
OnNotification
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.java_websocket.WebSocket ws, JsonrpcNotification notification) Handles a JSON-RPC notification.
-
Constructor Details
-
OnNotification
-
-
Method Details
-
run
public void run(org.java_websocket.WebSocket ws, JsonrpcNotification notification) throws OpenemsError.OpenemsNamedException Description copied from interface:OnNotification
Handles a JSON-RPC notification.- Specified by:
run
in interfaceOnNotification
- Parameters:
ws
- the WebSocketnotification
- the JSON-RPC Notification- Throws:
OpenemsError.OpenemsNamedException
- on error
-