esoe 2 years ago
parent
commit
ce7d3bc6c8
  1. 2
      src/main/java/ru/molokoin/ExchangeServer.java

2
src/main/java/ru/molokoin/ExchangeServer.java

@ -16,7 +16,7 @@ public class ExchangeServer {
// //
} }
public static void main(String[] args) { public static void main(String[] args) {
Queue<Connection> connectionQueue = (Queue<Connection>)new ArrayBlockingQueue(1024); Queue<Connection> connectionQueue = (Queue<Connection>) new ArrayBlockingQueue(1024);
launch = new ServerLauncher(8081, connectionQueue); launch = new ServerLauncher(8081, connectionQueue);
server = new Thread(launch); server = new Thread(launch);
server.setName("ServerLauncherThread"); server.setName("ServerLauncherThread");

Loading…
Cancel
Save