Class OnClose
java.lang.Object
io.openems.edge.controller.api.websocket.OnClose
- All Implemented Interfaces:
OnClose
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OnClose
-
-
Method Details
-
run
public void run(org.java_websocket.WebSocket ws, int code, String reason, boolean remote) throws OpenemsException Description copied from interface:OnClose
Called after the websocket connection has been closed.- Specified by:
run
in interfaceOnClose
- 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
-