From 0468831657f3b8ea88336eb26c781e678f633405 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Mon, 27 Dec 2021 14:01:49 -0800 Subject: [PATCH] javadoc --- .../moves/dis7/utilities/DisThreadedNetworkInterface.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java b/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java index 3430853c85..8250f51b88 100644 --- a/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java +++ b/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java @@ -20,6 +20,7 @@ import java.util.logging.Logger; /** * This is a thread-safe, multicast DIS network interface class which greatly simplifies reading and writing of PDUs for applications. + * This simplifies and consolidates all reading, writing and threading of DIS over the network. * * Example <code>main()</code> self-test response shown in log file. * @see <a href="https://github.com/open-dis/open-dis7-java/blob/master/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterfaceSelfTestLog.txt">https://github.com/open-dis/open-dis7-java/blob/master/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterfaceSelfTestLog.txt</a> @@ -853,7 +854,7 @@ public class DisThreadedNetworkInterface @Override public void incomingPdu(Pdu newPdu) { - System.out.println( "received newPdu " + newPdu.getPduType().toString()); + System.out.println( "*** DisThreadedNetworkInterface main() pduListener.incomingPdu() received newPdu " + newPdu.getPduType().toString()); System.out.flush(); } }; @@ -871,8 +872,7 @@ public class DisThreadedNetworkInterface { System.out.println("*** DisThreadedNetworkInterface main() self test InterruptedException " + ex.getMessage()); } - finally // clean up following regular completion and any interruptions - + finally // carefully clean up following regular completion and any interruptions { if (disThreadedNetworkInterface != null) disThreadedNetworkInterface.close(); -- GitLab