* @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
* @see VariableRecordType for other potential CommentPdu type enumerations.
* @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
// vararg... variable-length set of String comments can optionally follow
...
...
@@ -265,6 +310,45 @@ public class DisChannel
}
}
}
/**
* Send Comment PDU following time delay
* @param delayTimeMilliseconds delay before sending
* @param commentType enumeration value describing purpose of the narrative comment
* @param comments String array of narrative comments
* @see VariableRecordType for other potential CommentPdu type enumerations.
* @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
// vararg... variable-length set of String comments can optionally follow
String...comments)
{
try
{
Thread.sleep(delayTimeMilliseconds);
}
catch(InterruptedExceptionie)
{
System.err.println(ie);
}
sendCommentPdu(commentType,comments);
}
/**
* Send Comment PDU following time delay
* @param delayTimeSeconds delay before sending
* @param commentType enumeration value describing purpose of the narrative comment
* @param comments String array of narrative comments
* @see VariableRecordType for other potential CommentPdu type enumerations.
* @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