fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/websocket/WebSocketClient.java
@OnClose
	public void onClose(Session userSessionParam, CloseReason reasonParam) {
		this.userSession = null;

		if (this.messageHandlers != null) {

			this.messageHandlers.values().forEach(handle ->{
				handle.connectionClosed();
			});
		}
	}
@OnClose
	public void onClose(Session userSessionParam, CloseReason reasonParam) {
		this.userSession = null;

		if (this.messageHandlers != null) {

			this.messageHandlers.values().forEach(handle ->{
				handle.connectionClosed();
			});
		}
	}
@ OnClose public void onClose ( Session userSessionParam , CloseReason reasonParam ) { this . userSession = null ; if ( this . messageHandlers != null ) { this . messageHandlers . values ( ) . forEach ( handle -> { handle . connectionClosed ( ) ; } ) ; } }
Callback hook for Connection close events.

@param userSessionParam The userSession which is getting closed.
@param reasonParam The reason for connection close.
Callback hook for Connection close events .