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); }