fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/websocket/ABaseClientWebSocket.java
public void sendMessage(
			ABaseFluidJSONObject baseFluidJSONObjectParam,
			String requestIdParam)
	{
		if(baseFluidJSONObjectParam != null) {
			baseFluidJSONObjectParam.setServiceTicket(this.serviceTicket);

			//Add the echo to the listing if [GenericListMessageHandler].
			if(this.getHandler(requestIdParam) instanceof AGenericListMessageHandler) {
				AGenericListMessageHandler listHandler =
						(AGenericListMessageHandler)this.getHandler(requestIdParam);
				listHandler.addExpectedMessage(baseFluidJSONObjectParam.getEcho());
			}
		}

		this.webSocketClient.sendMessage(baseFluidJSONObjectParam);
	}
public void sendMessage(
			ABaseFluidJSONObject baseFluidJSONObjectParam,
			String requestIdParam)
	{
		if(baseFluidJSONObjectParam != null) {
			baseFluidJSONObjectParam.setServiceTicket(this.serviceTicket);

			//Add the echo to the listing if [GenericListMessageHandler].
			if(this.getHandler(requestIdParam) instanceof AGenericListMessageHandler) {
				AGenericListMessageHandler listHandler =
						(AGenericListMessageHandler)this.getHandler(requestIdParam);
				listHandler.addExpectedMessage(baseFluidJSONObjectParam.getEcho());
			}
		}

		this.webSocketClient.sendMessage(baseFluidJSONObjectParam);
	}
Send the {@code baseFluidJSONObjectParam} via Web Socket.

@param baseFluidJSONObjectParam The JSONObject to send.
@param requestIdParam The unique request id.

@see org.json.JSONObject