forked from IF-LK-2020/wordle
umlet
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
public class WordleServer extends Server {
|
||||
|
||||
publib static final int DEFAULT_PORT = 1000;
|
||||
public static final int DEFAULT_PORT = 1000;
|
||||
|
||||
public static void main( String[] args ) {
|
||||
new WordleServer();
|
||||
@@ -26,17 +26,17 @@ public class WordleServer extends Server {
|
||||
|
||||
@Override
|
||||
public void processNewConnection( String pClientIP, int pClientPort ) {
|
||||
|
||||
System.out.println("New connection: " + pClientPort);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processClosingConnection( String pClientIP, int pClientPort ) {
|
||||
|
||||
System.out.println("Closed connection: " + pClientPort);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processMessage( String pClientIP, int pClientPort, String pMessage ) {
|
||||
|
||||
System.out.println("Message: " + pMessage);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user