Ejemplo n.º 1
0
 void placeResponse(final int sequence, final ProtocolFrame response) {
   synchronized (myResponseQueue) {
     if (response == null || myResponseQueue.containsKey(sequence)) {
       myResponseQueue.put(sequence, response);
     }
     if (response != null) {
       myResponseQueue.notifyAll();
     }
   }
 }
 public void register(String id, RemoteDebugger debugger) {
   myThreadIdToDebugger.put(id, debugger);
 }