Skip to content
Snippets Groups Projects
Commit c301ca53 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

sort constructors

parent 6a24fe1c
No related branches found
No related tags found
No related merge requests found
...@@ -132,31 +132,6 @@ public class DisThreadedNetworkInterface ...@@ -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. * Object constructor using specified multicast address and port, plus descriptor.
* @param address the multicast group or unicast address to utilize * @param address the multicast group or unicast address to utilize
...@@ -185,6 +160,31 @@ public class DisThreadedNetworkInterface ...@@ -185,6 +160,31 @@ public class DisThreadedNetworkInterface
begin(); 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 * Add a listener to accept only pdus of a given type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment