diff --git a/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java b/src/edu/nps/moves/dis7/utilities/DisThreadedNetworkInterface.java index 173f35f0521c0b425d278344478932113ae98427..5a8d999dfd73107bc4782f4a1716ac6c48a4699f 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