System.out.println("range: "+range+" hops from our Network DMZ!");
if(range<5){// Range 5
if(!fireBool){
sendSinglePdu(MalPacketDetectedComment);
}
fireBool=true;
System.out.println("Entity#"+firePdu.getFiringEntityID().getEntityID()+" is firing "+firePdu.getDescriptor().getMunitionType().getDomain()+"."+firePdu.getDescriptor().getMunitionType().getCountry()+"."+firePdu.getDescriptor().getMunitionType().getCategory()+"."+firePdu.getDescriptor().getMunitionType().getSubCategory()+"."+firePdu.getDescriptor().getMunitionType().getSpecific()+"."+" at Entity#"+firePdu.getTargetEntityID().getEntityID());
* @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
* Send EntityState, Fire, Comment PDUs that got updated for this loop, reflecting state of current simulation timestep.
* @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 purpose of the narrative comment
* @param comments String array of narrative comments
* Main method is first executed when a program instance is loaded.
* @see <a href="https://docs.oracle.com/javase/tutorial/getStarted/application/index.html">Java Tutorials: A Closer Look at the "Hello World!" Application</a>
* @param args command-line arguments are an array of optional String parameters that are passed from execution environment during invocation
System.out.println("range: "+range+" hops from our Network DMZ!");
if(range<5){// Range 5
if(!fireBool){
sendSinglePdu(MalPacketDetectedComment);
}
fireBool=true;
System.out.println("Entity#"+firePdu.getFiringEntityID().getEntityID()+" is firing "+firePdu.getDescriptor().getMunitionType().getDomain()+"."+firePdu.getDescriptor().getMunitionType().getCountry()+"."+firePdu.getDescriptor().getMunitionType().getCategory()+"."+firePdu.getDescriptor().getMunitionType().getSubCategory()+"."+firePdu.getDescriptor().getMunitionType().getSpecific()+"."+" at Entity#"+firePdu.getTargetEntityID().getEntityID());
* @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
* Send EntityState, Fire, Comment PDUs that got updated for this loop, reflecting state of current simulation timestep.
* @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 purpose of the narrative comment
* @param comments String array of narrative comments
* Main method is first executed when a program instance is loaded.
* @see <a href="https://docs.oracle.com/javase/tutorial/getStarted/application/index.html">Java Tutorials: A Closer Look at the "Hello World!" Application</a>
* @param args command-line arguments are an array of optional String parameters that are passed from execution environment during invocation