class WebSocketService implements Chain3jService {

    public void connect() throws ConnectException {
        try {
            connectToWebSocket();
            setWebSocketListener();
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
            log.warn("Interrupted while connecting via WebSocket protocol");
        }
    }

    public  WebSocketService(String serverUrl, boolean includeRawResponses);
    public  WebSocketService(WebSocketClient webSocketClient,
                     boolean includeRawResponses);
      WebSocketService(WebSocketClient webSocketClient,
                     ScheduledExecutorService executor,
                     boolean includeRawResponses);

}