@Override public void iniciar() { try { idSucursal = Config.getInstance().dataSourceConfig.idSucursal; wsClient = new WSClient(); wsClient.connect(); } catch (IOException e) { Logger.getLogger(WebSocketWS.class).error("iniciar", e); } catch (URISyntaxException e) { Logger.getLogger(WebSocketWS.class).error("iniciar", e); } }