* Output prefix to identify this class, helps with logging
*/
...
...
@@ -227,19 +242,32 @@ public class ExampleSimulationProgram
}
}
/**
* Send Comment PDU
* @see <a href="https://docs.oracle.com/javase/tutorial/java/javaOO/arguments.html">Passing Information to a Method or a Constructor</a> Arbitrary Number of Arguments
* @param commentType enumeration value describing purpose of the narrative comment
* @param comments String array of narrative comments
// vararg... variable-length set of String comments can optionally follow
String...comments)
{
sendAllPdus(null,null,commentType,comments);
}
/**
* Send EntityState, Fire, Comment PDUs
* @see <a href="https://docs.oracle.com/javase/tutorial/java/javaOO/arguments.html">Passing Information to a Method or a Constructor</a> Arbitrary Number of Arguments
* @param entityStatePdu the ESPDU to send, if any
* @param firePdu the FirePDU to send, if any
* @param commentType enumeration value describing the narrative comment
* @param commentType enumeration value describing purpose of the narrative comment
* @param comments String array of narrative comments