connectedProxies = new HashMap<>();
}
@Override
public void handleSendMessage(Message aMessage) throws WebServiceException {
final WebSocketMessageDTO websocketMessage = (WebSocketMessageDTO)aMessage;
if (websocketMessage.channel == null || websocketMessage.channel.id == null) {
logger.warn("Invalid WebSocket channel selected. Unable to send manual crafted message!");
throw new WebServiceException(Constant.messages.getString("websocket.manual_send.fail.invalid_channel")
+ " " + Constant.messages.getString("websocket.manual_send.fail"));