Constructor and Description |
---|
OnOpen(B2bWebsocket parent) |
Modifier and Type | Method and Description |
---|---|
void |
run(org.java_websocket.WebSocket ws,
com.google.gson.JsonObject handshake)
Handles OnOpen event of WebSocket.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFieldFromHandshakeCookie
public OnOpen(B2bWebsocket parent)
public void run(org.java_websocket.WebSocket ws, com.google.gson.JsonObject handshake) throws OpenemsError.OpenemsNamedException
OnOpen
run
in interface OnOpen
ws
- the WebSockethandshake
- the HTTP handshake/headersOpenemsError.OpenemsNamedException
- on error