@FunctionalInterface
public interface OnNotification
Modifier and Type | Method and Description |
---|---|
void |
run(org.java_websocket.WebSocket websocket,
JsonrpcNotification notification)
Handles a JSON-RPC notification.
|
void run(org.java_websocket.WebSocket websocket, JsonrpcNotification notification) throws OpenemsError.OpenemsNamedException
websocket
- the WebSocketnotification
- the JSON-RPC NotificationOpenemsError.OpenemsNamedException
- on error