mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 09:13:27 +00:00
Printing Server variables
This commit is contained in:
1 parent
9a824c7d21
commit
eb22febdfc
1 file changed
+1
-1
@@ -26,6 +26,6 @@ public class Server {
|
||||
}
|
||||
|
||||
public final void serve(Request request) {
|
||||
System.out.println("Server ID " + id + " processed request with value " + request.value);
|
||||
System.out.println("Server ID " + id + " associated to host : " + getHost() + " and Port " + getPort() +" Processed request with value " + request.value);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user