Class OnOpen
java.lang.Object
io.openems.backend.uiwebsocket.impl.OnOpen
- All Implemented Interfaces:
OnOpen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.java_websocket.WebSocket ws, com.google.gson.JsonObject handshake) Handles OnOpen event of WebSocket.
-
Constructor Details
-
OnOpen
-
-
Method Details
-
run
public void run(org.java_websocket.WebSocket ws, com.google.gson.JsonObject handshake) throws OpenemsException Description copied from interface:OnOpen
Handles OnOpen event of WebSocket.- Specified by:
run
in interfaceOnOpen
- Parameters:
ws
- the WebSockethandshake
- the HTTP handshake/headers- Throws:
OpenemsException
-