public void addListener(@NotNull SocketConnectionListener listener) { myConnection.addListener(listener, null); }
public void registerHandler(AbstractResponseHandler<HXCPPResponse> debugProcess) { myConnection.registerHandler(HXCPPResponse.class, debugProcess); }
public void close() { myConnection.close(); }
public void open() throws IOException { myConnection.open(); }
public synchronized void sendCommand( @Nullable AbstractResponseToRequestHandler<HXCPPResponse> responseHandler, String... args) { final int id = responseHandler == null ? -1 : lastCommandId++; myConnection.sendRequest(new HXCPPCommand(id, args), responseHandler); }