|
|
|
@ -16,7 +16,7 @@ public class ExchangeServer {
@@ -16,7 +16,7 @@ public class ExchangeServer {
|
|
|
|
|
//
|
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
|
server = new Thread(launch); |
|
|
|
|
server.setName("ServerLauncherThread"); |
|
|
|
|