From c301ca5367696b18a76f839ab700707a0dfdae8d Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Sat, 1 Jan 2022 18:18:38 -0800 Subject: [PATCH] sort constructors --- .../DisThreadedNetworkInterface.java | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java b/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java index 173f35f052..5a8d999dfd 100644 --- a/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java +++ b/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java @@ -132,31 +132,6 @@ public class DisThreadedNetworkInterface } } - /** - * Object constructor using default multicast address and port, no descriptor - */ - public DisThreadedNetworkInterface() - { - this(DEFAULT_DIS_ADDRESS, DEFAULT_DIS_PORT, ""); - } - /** - * Object constructor with descriptor, using default multicast address and port - * @param newDescriptor simple descriptor name for this interface - */ - public DisThreadedNetworkInterface(String newDescriptor) - { - this(DEFAULT_DIS_ADDRESS, DEFAULT_DIS_PORT, newDescriptor); - } - /** - * Object constructor using specified multicast address and port - * @param address the multicast group or unicast address to utilize - * @param port the multicast port to utilize - */ - public DisThreadedNetworkInterface(String address, int port) - { - - this(address, port, ""); - } /** * Object constructor using specified multicast address and port, plus descriptor. * @param address the multicast group or unicast address to utilize @@ -185,6 +160,31 @@ public class DisThreadedNetworkInterface begin(); } + /** + * Object constructor using specified multicast address and port + * @param address the multicast group or unicast address to utilize + * @param port the multicast port to utilize + */ + public DisThreadedNetworkInterface(String address, int port) + { + + this(address, port, ""); + } + /** + * Object constructor with descriptor, using default multicast address and port + * @param newDescriptor simple descriptor name for this interface + */ + public DisThreadedNetworkInterface(String newDescriptor) + { + this(DEFAULT_DIS_ADDRESS, DEFAULT_DIS_PORT, newDescriptor); + } + /** + * Object constructor using default multicast address and port, no descriptor + */ + public DisThreadedNetworkInterface() + { + this(DEFAULT_DIS_ADDRESS, DEFAULT_DIS_PORT, ""); + } /** * Add a listener to accept only pdus of a given type -- GitLab