From f6e33e307a1115db410500a83697adf883b63290 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Wed, 11 Aug 2021 11:51:29 -0700 Subject: [PATCH] method rename --- .../projects/SchuttFetterolf/AllPduRoundTripTest.java | 4 ++-- .../homework4/Britt/BrittSimulation.java | 2 +- .../homework4/Britt/ExampleSimulationProgram.java | 2 +- .../homework4/Cannon/CannonArtillerySimulation.java | 2 +- .../homework4/White/test/WhiteSimulation.java | 2 +- .../homework4/White/working/WhiteSimulation.java | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assignments/src/MV3500Cohort2019JulySeptember/projects/SchuttFetterolf/AllPduRoundTripTest.java b/assignments/src/MV3500Cohort2019JulySeptember/projects/SchuttFetterolf/AllPduRoundTripTest.java index bdfca90f48..54d6a8d6d8 100644 --- a/assignments/src/MV3500Cohort2019JulySeptember/projects/SchuttFetterolf/AllPduRoundTripTest.java +++ b/assignments/src/MV3500Cohort2019JulySeptember/projects/SchuttFetterolf/AllPduRoundTripTest.java @@ -196,7 +196,7 @@ // private void setupRecorder() throws Exception // { // recorderDirectory = Files.createTempDir(); -// recorder = new Recorder(recorderDirectory.getAbsolutePath(), disNetworkInterface.getMcastGroup(), disNetworkInterface.getDisPort()); +// recorder = new Recorder(recorderDirectory.getAbsolutePath(), disNetworkInterface.getMulticastGroup(), disNetworkInterface.getDisPort()); // System.out.println("Recorder log at " + recorderDirectory.getAbsolutePath()); // } // @@ -215,7 +215,7 @@ // private void getAllFromRecorder(Semaphore sem) throws Exception // { // sem.acquire(); -// Player player = new Player(disNetworkInterface.getMcastGroup(), disNetworkInterface.getDisPort(), recorderDirectory.toPath()); +// Player player = new Player(disNetworkInterface.getMulticastGroup(), disNetworkInterface.getDisPort(), recorderDirectory.toPath()); // player.sendToNet(false); // player.addRawListener(ba -> { // if (ba != null) { diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/BrittSimulation.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/BrittSimulation.java index d5a2909abd..6abc7c2579 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/BrittSimulation.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/BrittSimulation.java @@ -92,7 +92,7 @@ public class BrittSimulation { disNetworkInterface = new DisThreadedNetworkInterface(getNetworkAddress(), getNetworkPort()); - System.out.println("Network confirmation: address=" + disNetworkInterface.getMcastGroup() + " port=" + disNetworkInterface.getDisPort()); + System.out.println("Network confirmation: address=" + disNetworkInterface.getMulticastGroup() + " port=" + disNetworkInterface.getDisPort()); pduListener = new DisThreadedNetworkInterface.PduListener() { /** Callback handler for listener */ diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/ExampleSimulationProgram.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/ExampleSimulationProgram.java index 0b3f007706..5c13f1a55a 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/ExampleSimulationProgram.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/ExampleSimulationProgram.java @@ -82,7 +82,7 @@ public class ExampleSimulationProgram { disNetworkInterface = new DisThreadedNetworkInterface(getNetworkAddress(), getNetworkPort()); - System.out.println("Network confirmation: address=" + disNetworkInterface.getMcastGroup() + " port=" + disNetworkInterface.getDisPort()); + System.out.println("Network confirmation: address=" + disNetworkInterface.getMulticastGroup() + " port=" + disNetworkInterface.getDisPort()); pduListener = new DisThreadedNetworkInterface.PduListener() { /** Callback handler for listener */ diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Cannon/CannonArtillerySimulation.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Cannon/CannonArtillerySimulation.java index cc43ae2fd9..585b860651 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Cannon/CannonArtillerySimulation.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Cannon/CannonArtillerySimulation.java @@ -87,7 +87,7 @@ public class CannonArtillerySimulation { public void setUpNetworkInterface() { disNetworkInterface = new DisThreadedNetworkInterface(getNetworkAddress(), getNetworkPort()); - System.out.println("Network confirmation: address=" + disNetworkInterface.getMcastGroup() + " port=" + disNetworkInterface.getDisPort()); + System.out.println("Network confirmation: address=" + disNetworkInterface.getMulticastGroup() + " port=" + disNetworkInterface.getDisPort()); pduListener = new DisThreadedNetworkInterface.PduListener() { /** * Callback handler for listener diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/test/WhiteSimulation.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/test/WhiteSimulation.java index ca5d0405f2..669117f1ec 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/test/WhiteSimulation.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/test/WhiteSimulation.java @@ -93,7 +93,7 @@ public class WhiteSimulation { disNetworkInterface = new DisThreadedNetworkInterface(getNetworkAddress(), getNetworkPort()); - System.out.println("Network confirmation: address=" + disNetworkInterface.getMcastGroup() + " port=" + disNetworkInterface.getDisPort()); + System.out.println("Network confirmation: address=" + disNetworkInterface.getMulticastGroup() + " port=" + disNetworkInterface.getDisPort()); pduListener = new DisThreadedNetworkInterface.PduListener() { /** Callback handler for listener */ diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java index ebee25ed48..bf004e918f 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java @@ -92,7 +92,7 @@ public class WhiteSimulation { disNetworkInterface = new DisThreadedNetworkInterface(getNetworkAddress(), getNetworkPort()); - System.out.println("Network confirmation: address=" + disNetworkInterface.getMcastGroup() + " port=" + disNetworkInterface.getDisPort()); + System.out.println("Network confirmation: address=" + disNetworkInterface.getMulticastGroup() + " port=" + disNetworkInterface.getDisPort()); pduListener = new DisThreadedNetworkInterface.PduListener() { /** Callback handler for listener */ -- GitLab