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