Package io.openems.common.websocket
Interface OnClose
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(org.java_websocket.WebSocket ws, int code, java.lang.String reason, boolean remote)
Called after the websocket connection has been closed.
-
-
-
Method Detail
-
run
void run(org.java_websocket.WebSocket ws, int code, java.lang.String reason, boolean remote) throws OpenemsException
Called after the websocket connection has been closed.- Parameters:
ws
- theWebSocket
code
- the close codereason
- the close reasonremote
- Returns whether or not the closing of the connection was initiated by the remote host- Throws:
OpenemsException
- on error
-
-