if (webSocket != null) {
try {
webSocket.write(message);
logger.trace("WRITE SUCCESS : calling from " + this.getClass().getName() + " : " + "sendMessage(string) = " + message);
} catch (IOException e) {
throw new SocketIOException(e);
}
} else {
logger.warn("WebSOCKET NULL");
}