1415161718192021
private SocketRegistry sr; public Dispatcher(SocketRegistry sr, int maxThreads, int optimumThreads) { super("simpletcp dispatcher thread #"+(count++)); threadPool = new ThreadPool(maxThreads, optimumThreads); this.sr = sr; }