From e6d3f160b81c5c1247bed916aba588e2678dcdc7 Mon Sep 17 00:00:00 2001
From: owner <owner@DESKTOP-150HAJJ.ern.nps.edu>
Date: Tue, 13 Aug 2024 11:06:35 -0700
Subject: [PATCH] Homework 2

---
 .../homework2/Lennon/LennonHW2Client.java                 | 8 ++++----
 .../homework2/Lennon/LennonHW2DispatchServer.java         | 2 +-
 .../homework2/Lennon/LennonHW2HandlerThread.java          | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
index de94d5fb36..110b07a34a 100644
--- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
+++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
@@ -9,12 +9,12 @@ import java.util.Scanner;
 //import java.time.LocalTime; // conversion?
 
 /**
- * This client program establishes a socket connection to the {@link TcpExample4DispatchServer},
- * then checks how long it takes to read the single line it expects as a server response.
+ * This client program establishes a socket connection to the {@link LennonHW2DispatchServer},
+ * then plays a random number guessing game.
  * No fancy footwork here, it is pretty simple and similar to {@link TcpExample3Client}.
  * 
- * @see TcpExample4DispatchServer
- * @see TcpExample4HandlerThread
+ * see TcpExample4DispatchServer
+ * see TcpExample4HandlerThread
  *
  * @see <a href="../../../src/TcpExamples/TcpExample4TerminalLog.txt" target="blank">TcpExample4TerminalLog.txt</a>
  * @see <a href="../../../src/TcpExamples/TcpExample4SequenceDiagram.png" target="blank">TcpExample4SequenceDiagram.png</a>
diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2DispatchServer.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2DispatchServer.java
index 4e30d61d85..443e7322f9 100644
--- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2DispatchServer.java
+++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2DispatchServer.java
@@ -8,7 +8,7 @@ import java.net.*;
  * new thread to handle multiple incoming socket connections, one after another, all running in parallel.
  * This advanced technique is often used in high=performance high=capacity server programs.
  * 
- * @see TcpExample4Client
+ * @see LennonHW2Client
  * @see LennonHW2HandlerThread
  *
  * @see <a href="../../../src/TcpExamples/TcpExample4TerminalLog.txt" target="blank">TcpExample4TerminalLog.txt</a>
diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java
index 6ca17564c4..cce06e30b1 100644
--- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java
+++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java
@@ -8,7 +8,7 @@ import java.util.Random;
 
 /**
  * <p>
- * This utility class supports the {@link TcpExample4DispatchServer} program,
+ * This utility class supports the {@link LennonHW2DispatchServer} program,
  * handling all programming logic needed for a new socket connection
  * to run in a thread of its own. This is the server
  * portion as well, so we artificially invent what happens
@@ -18,8 +18,8 @@ import java.util.Random;
  * Warning: do not run this class!  It is created and used automatically by {@link TcpExample4DispatchServer} at run time.
  * </p>
  * 
- * @see TcpExample4Client
- * @see TcpExample4DispatchServer
+ * see TcpExample4Client
+ * see TcpExample4DispatchServer
  *
  * @see <a href="../../../src/TcpExamples/TcpExample4TerminalLog.txt" target="blank">TcpExample4TerminalLog.txt</a>
  * @see <a href="../../../src/TcpExamples/TcpExample4SequenceDiagram.png" target="blank">TcpExample4SequenceDiagram.png</a>
@@ -56,7 +56,7 @@ public class LennonHW2HandlerThread extends Thread
     
     /** Handles one connection. We add an artificial slowness
      * to handling the connection with a sleep(). This means
-     * the client won't see a server connection response for ten seconds (default).
+     * the client won't see a server connection response for 0.5 seconds.
      */
     // @overriding run() method in Java Thread class is deliberate
     @Override 
-- 
GitLab