mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 14:58:39 +00:00
Printing Server variables
This commit is contained in:
@@ -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