Changed description document
parent
078a7f2b7a
commit
ce814df02e
Binary file not shown.
|
@ -3,7 +3,7 @@ package ca.cosc3p91.a4;
|
||||||
import ca.cosc3p91.a4.util.network.Client;
|
import ca.cosc3p91.a4.util.network.Client;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
public class Main {
|
public class MainClient {
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
new Client("localhost");
|
new Client("localhost");
|
|
@ -0,0 +1,11 @@
|
||||||
|
package ca.cosc3p91.a4;
|
||||||
|
|
||||||
|
import ca.cosc3p91.a4.util.network.Server;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class MainServer {
|
||||||
|
public static void main(String[] args) throws IOException, InterruptedException {
|
||||||
|
new Server();
|
||||||
|
}
|
||||||
|
}
|
|
@ -83,10 +83,6 @@ public class Server implements Runnable {
|
||||||
ioThread.join();
|
ioThread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException, InterruptedException {
|
|
||||||
new Server();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static class ConnectedClient implements Runnable {
|
public static class ConnectedClient implements Runnable {
|
||||||
private final InetAddress address;
|
private final InetAddress address;
|
||||||
private final int port;
|
private final int port;
|
||||||
|
|
Loading…
Reference in New Issue