Note: this is a blocking call @param text the message to be sent
64656667686970717273
{ LOG.debug("onText({})",message); // echo the message back. RemoteEndpoint remote = session.getRemote(); remote.sendString(message, null); if (remote.getBatchMode() == BatchMode.ON) remote.flush(); } }