Package io.openems.common.websocket
Interface OnNotification
- All Known Implementing Classes:
OnNotification
,OnNotification
,OnNotification
,OnNotification
,OnNotification
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.java_websocket.WebSocket websocket, JsonrpcNotification notification) Handles a JSON-RPC notification.
-
Method Details
-
run
void run(org.java_websocket.WebSocket websocket, JsonrpcNotification notification) throws OpenemsError.OpenemsNamedException Handles a JSON-RPC notification.- Parameters:
websocket
- the WebSocketnotification
- the JSON-RPC Notification- Throws:
OpenemsError.OpenemsNamedException
- on error
-