Lines Matching refs:TcpConnectionThread
105 private List<TcpConnectionThread> connections = new ArrayList<>();
250 protected abstract class TcpConnectionThread extends Thread {
254 protected TcpConnectionThread(Socket socket) {
273 protected abstract TcpConnectionThread createConnection(Socket s);
276 * Creates and starts a new TcpConnectionThread to handle the accepted
282 TcpConnectionThread c = createConnection(s);
293 TcpConnectionThread connection) {
303 TcpConnectionThread connection) {
322 for (TcpConnectionThread c : connections) {
355 protected TcpConnectionThread createConnection(Socket s) {
359 private final class EchoConnection extends TcpConnectionThread {
421 protected TcpConnectionThread createConnection(Socket s) {
426 protected void addConnection(TcpConnectionThread connection) {
431 protected void removeConnection(TcpConnectionThread connection) {
435 private final class DayTimeServerConnection extends TcpConnectionThread {