diff --git a/examples/src/OpenDis7Examples/AllPduReceiver.java b/examples/src/OpenDis7Examples/AllPduReceiver.java index 06c745a2471100050e6374720f22e24318bb66f3..d413c2779a5f3f2662701d15a45088f191736662 100644 --- a/examples/src/OpenDis7Examples/AllPduReceiver.java +++ b/examples/src/OpenDis7Examples/AllPduReceiver.java @@ -73,7 +73,7 @@ public class AllPduReceiver for (Pdu nextPdu : pduBundle) // iterator loop through PDU bundle { - DISPDUType currentPduType = nextPdu.getPduType(); //short currentPduType = nextPdu.getPduType(); + DisPduType currentPduType = nextPdu.getPduType(); //short currentPduType = nextPdu.getPduType(); String currentPduTypeName = nextPdu.getClass().getName(); String currentPduFamilyName = nextPdu.getClass().getSuperclass().getSimpleName(); DISProtocolFamily currentProtocolFamilyID = nextPdu.getProtocolFamily(); //short currentProtocolFamilyID = nextPdu.getProtocolFamily(); @@ -92,7 +92,7 @@ public class AllPduReceiver System.out.println(message.toString()); // diagnostic information helps // additional message information of interest, if any - switch (currentPduType) // using enumeration values from edu.​nps.​moves.​dis7.​enumerations.​DISPDUType + switch (currentPduType) // using enumeration values from edu.​nps.​moves.​dis7.​enumerations.​DisPduType { case COMMENT: CommentPdu commentPdu = (CommentPdu)nextPdu; // cast to precise type diff --git a/examples/src/OpenDis7Examples/AllPduReceiverLog.txt b/examples/src/OpenDis7Examples/AllPduReceiverLog.txt index 77489f159d44f2889660a2a7041253eb8649caca..fef7a8c48a93534d572efe580d2f01e62077dc5e 100644 --- a/examples/src/OpenDis7Examples/AllPduReceiverLog.txt +++ b/examples/src/OpenDis7Examples/AllPduReceiverLog.txt @@ -16,80 +16,81 @@ run-single: Usage: AllPduReceiver <multicast group> <port> Default: AllPduReceiver 239.1.2.3 3000 To quit: stop or kill this process -16:00:00 received new DIS PDU DISPDUType 1 ENTITY_STATE (DISProtocolFamily 1 ENTITY_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 2 FIRE (DISProtocolFamily 2 WARFARE) -16:00:00 received new DIS PDU DISPDUType 3 DETONATION (DISProtocolFamily 2 WARFARE) -16:00:00 received new DIS PDU DISPDUType 4 COLLISION (DISProtocolFamily 1 ENTITY_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 5 SERVICE_REQUEST (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 6 RESUPPLY_OFFER (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 7 RESUPPLY_RECEIVED (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 8 RESUPPLY_CANCEL (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 9 REPAIR_COMPLETE (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 10 REPAIR_RESPONSE (DISProtocolFamily 3 LOGISTICS) -16:00:00 received new DIS PDU DISPDUType 11 CREATE_ENTITY (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 12 REMOVE_ENTITY (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 13 START_RESUME (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 14 STOP_FREEZE (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 15 ACKNOWLEDGE (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 16 ACTION_REQUEST (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 17 ACTION_RESPONSE (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 18 DATA_QUERY (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 19 SET_DATA (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 20 DATA (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 21 EVENT_REPORT (DISProtocolFamily 5 SIMULATION_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 22 COMMENT (DISProtocolFamily 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 01 ENTITY_STATE (DisPduType 1 ENTITY_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 02 FIRE (DisPduType 2 WARFARE) +16:00:00 received new DIS PDU DisPduType 03 DETONATION (DisPduType 2 WARFARE) +16:00:00 received new DIS PDU DisPduType 04 COLLISION (DisPduType 1 ENTITY_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 05 SERVICE_REQUEST (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 06 RESUPPLY_OFFER (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 07 RESUPPLY_RECEIVED (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 08 RESUPPLY_CANCEL (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 09 REPAIR_COMPLETE (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 10 REPAIR_RESPONSE (DisPduType 3 LOGISTICS) +16:00:00 received new DIS PDU DisPduType 11 CREATE_ENTITY (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 12 REMOVE_ENTITY (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 13 START_RESUME (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 14 STOP_FREEZE (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 15 ACKNOWLEDGE (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 16 ACTION_REQUEST (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 17 ACTION_RESPONSE (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 18 DATA_QUERY (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 19 SET_DATA (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 20 DATA (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 21 EVENT_REPORT (DisPduType 5 SIMULATION_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 22 COMMENT (DisPduType 5 SIMULATION_MANAGEMENT) messages: "Hello CommentPDU" "Here is a second line of text in this comment." -16:00:00 received new DIS PDU DISPDUType 23 ELECTROMAGNETIC_EMISSION (DISProtocolFamily 6 DISTRIBUTED_EMISSION_REGENERATION) -Jul 17, 2021 5:04:29 PM edu.nps.moves.dis7.utilities.PduFactory createPdu -SEVERE: unknown pduType=DISPDUType 0 OTHER, PduFactory fails -16:00:00 received new DIS PDU DISPDUType 24 DESIGNATOR (DISProtocolFamily 6 DISTRIBUTED_EMISSION_REGENERATION) -16:00:00 received new DIS PDU DISPDUType 25 TRANSMITTER (DISProtocolFamily 4 RADIO_COMMUNICATIONS) -16:00:00 received new DIS PDU DISPDUType 26 SIGNAL (DISProtocolFamily 4 RADIO_COMMUNICATIONS) -Jul 17, 2021 5:04:29 PM edu.nps.moves.dis7.utilities.PduFactory createPdu -SEVERE: unknown pduType=DISPDUType 0 OTHER, PduFactory fails -16:00:00 received new DIS PDU DISPDUType 27 RECEIVER (DISProtocolFamily 4 RADIO_COMMUNICATIONS) -16:00:00 received new DIS PDU DISPDUType 28 IDENTIFICATION_FRIEND_OR_FOE (DISProtocolFamily 6 DISTRIBUTED_EMISSION_REGENERATION) -16:00:00 received new DIS PDU DISPDUType 29 UNDERWATER_ACOUSTIC (DISProtocolFamily 6 DISTRIBUTED_EMISSION_REGENERATION) -16:00:00 received new DIS PDU DISPDUType 30 SUPPLEMENTAL_EMISSION_ENTITY_STATE (DISProtocolFamily 6 DISTRIBUTED_EMISSION_REGENERATION) -16:00:00 received new DIS PDU DISPDUType 31 INTERCOM_SIGNAL (DISProtocolFamily 4 RADIO_COMMUNICATIONS) -16:00:00 received new DIS PDU DISPDUType 32 INTERCOM_CONTROL (DISProtocolFamily 4 RADIO_COMMUNICATIONS) -16:00:00 received new DIS PDU DISPDUType 33 AGGREGATE_STATE (DISProtocolFamily 7 ENTITY_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 34 ISGROUPOF (DISProtocolFamily 7 ENTITY_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 35 TRANSFER_OWNERSHIP (DISProtocolFamily 7 ENTITY_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 36 ISPARTOF (DISProtocolFamily 7 ENTITY_MANAGEMENT) -16:00:00 received new DIS PDU DISPDUType 37 MINEFIELD_STATE (DISProtocolFamily 8 MINEFIELD) -16:00:00 received new DIS PDU DISPDUType 38 MINEFIELD_QUERY (DISProtocolFamily 8 MINEFIELD) -16:00:00 received new DIS PDU DISPDUType 39 MINEFIELD_DATA (DISProtocolFamily 8 MINEFIELD) -16:00:00 received new DIS PDU DISPDUType 40 MINEFIELD_RESPONSE_NACK (DISProtocolFamily 8 MINEFIELD) -16:00:00 received new DIS PDU DISPDUType 41 ENVIRONMENTAL_PROCESS (DISProtocolFamily 9 SYNTHETIC_ENVIRONMENT) -16:00:00 received new DIS PDU DISPDUType 42 GRIDDED_DATA (DISProtocolFamily 9 SYNTHETIC_ENVIRONMENT) -16:00:00 received new DIS PDU DISPDUType 43 POINT_OBJECT_STATE (DISProtocolFamily 9 SYNTHETIC_ENVIRONMENT) -16:00:00 received new DIS PDU DISPDUType 44 LINEAR_OBJECT_STATE (DISProtocolFamily 9 SYNTHETIC_ENVIRONMENT) -16:00:00 received new DIS PDU DISPDUType 45 AREAL_OBJECT_STATE (DISProtocolFamily 9 SYNTHETIC_ENVIRONMENT) -16:00:00 received new DIS PDU DISPDUType 46 TIME_SPACE_POSITION_INFORMATION (DISProtocolFamily 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 47 APPEARANCE (DISProtocolFamily 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 48 ARTICULATED_PARTS (DISProtocolFamily 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 49 LIVE_ENTITY_FIRE (DISProtocolFamily 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 50 LIVE_ENTITY_DETONATION (DISProtocolFamily 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 51 CREATE_ENTITY_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 52 REMOVE_ENTITY_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 53 START_RESUME_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 54 STOP_FREEZE_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 55 ACKNOWLEDGE_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 56 ACTION_REQUEST_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 57 ACTION_RESPONSE_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 58 DATA_QUERY_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 59 SET_DATA_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 60 DATA_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 61 EVENT_REPORT_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 62 COMMENT_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 63 RECORD_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 64 SET_RECORD_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 65 RECORD_QUERY_RELIABLE (DISProtocolFamily 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) -16:00:00 received new DIS PDU DISPDUType 66 COLLISION_ELASTIC (DISProtocolFamily 1 ENTITY_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 67 ENTITY_STATE_UPDATE (DISProtocolFamily 1 ENTITY_INFORMATION_INTERACTION) -16:00:00 received new DIS PDU DISPDUType 68 DIRECTED_ENERGY_FIRE (DISProtocolFamily 2 WARFARE) -16:00:00 received new DIS PDU DISPDUType 69 ENTITY_DAMAGE_STATUS (DISProtocolFamily 2 WARFARE) -16:00:00 received new DIS PDU DISPDUType 70 INFORMATION_OPERATIONS_ACTION (DISProtocolFamily 13 INFORMATION_OPERATIONS) -16:00:00 received new DIS PDU DISPDUType 71 INFORMATION_OPERATIONS_REPORT (DISProtocolFamily 13 INFORMATION_OPERATIONS) -16:00:00 received new DIS PDU DISPDUType 72 ATTRIBUTE (DISProtocolFamily 1 ENTITY_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 23 ELECTROMAGNETIC_EMISSION (DisPduType 6 DISTRIBUTED_EMISSION_REGENERATION) +16:00:00 received new DIS PDU DisPduType 24 DESIGNATOR (DisPduType 6 DISTRIBUTED_EMISSION_REGENERATION) +16:00:00 received new DIS PDU DisPduType 25 TRANSMITTER (DisPduType 4 RADIO_COMMUNICATIONS) +Jul 18, 2021 10:34:06 PM edu.nps.moves.dis7.utilities.PduFactory createPdu +16:00:00 received new DIS PDU DisPduType 26 SIGNAL (DisPduType 4 RADIO_COMMUNICATIONS) +SEVERE: unknown pduType=DisPduType 00 OTHER, PduFactory fails +16:00:00 received new DIS PDU DisPduType 27 RECEIVER (DisPduType 4 RADIO_COMMUNICATIONS) +Jul 18, 2021 10:34:06 PM edu.nps.moves.dis7.utilities.PduFactory createPdu +SEVERE: unknown pduType=DisPduType 00 OTHER, PduFactory fails +16:00:00 received new DIS PDU DisPduType 28 IDENTIFICATION_FRIEND_OR_FOE (DisPduType 6 DISTRIBUTED_EMISSION_REGENERATION) +16:00:00 received new DIS PDU DisPduType 29 UNDERWATER_ACOUSTIC (DisPduType 6 DISTRIBUTED_EMISSION_REGENERATION) +16:00:00 received new DIS PDU DisPduType 30 SUPPLEMENTAL_EMISSION_ENTITY_STATE (DisPduType 6 DISTRIBUTED_EMISSION_REGENERATION) +16:00:00 received new DIS PDU DisPduType 31 INTERCOM_SIGNAL (DisPduType 4 RADIO_COMMUNICATIONS) +16:00:00 received new DIS PDU DisPduType 32 INTERCOM_CONTROL (DisPduType 4 RADIO_COMMUNICATIONS) +16:00:00 received new DIS PDU DisPduType 33 AGGREGATE_STATE (DisPduType 7 ENTITY_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 34 ISGROUPOF (DisPduType 7 ENTITY_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 35 TRANSFER_OWNERSHIP (DisPduType 7 ENTITY_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 36 ISPARTOF (DisPduType 7 ENTITY_MANAGEMENT) +16:00:00 received new DIS PDU DisPduType 37 MINEFIELD_STATE (DisPduType 8 MINEFIELD) +16:00:00 received new DIS PDU DisPduType 38 MINEFIELD_QUERY (DisPduType 8 MINEFIELD) +16:00:00 received new DIS PDU DisPduType 39 MINEFIELD_DATA (DisPduType 8 MINEFIELD) +16:00:00 received new DIS PDU DisPduType 40 MINEFIELD_RESPONSE_NACK (DisPduType 8 MINEFIELD) +16:00:00 received new DIS PDU DisPduType 41 ENVIRONMENTAL_PROCESS (DisPduType 9 SYNTHETIC_ENVIRONMENT) +16:00:00 received new DIS PDU DisPduType 42 GRIDDED_DATA (DisPduType 9 SYNTHETIC_ENVIRONMENT) +16:00:00 received new DIS PDU DisPduType 43 POINT_OBJECT_STATE (DisPduType 9 SYNTHETIC_ENVIRONMENT) +16:00:00 received new DIS PDU DisPduType 44 LINEAR_OBJECT_STATE (DisPduType 9 SYNTHETIC_ENVIRONMENT) +16:00:00 received new DIS PDU DisPduType 45 AREAL_OBJECT_STATE (DisPduType 9 SYNTHETIC_ENVIRONMENT) +16:00:00 received new DIS PDU DisPduType 46 TIME_SPACE_POSITION_INFORMATION (DisPduType 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 47 APPEARANCE (DisPduType 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 48 ARTICULATED_PARTS (DisPduType 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 49 LIVE_ENTITY_FIRE (DisPduType 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 50 LIVE_ENTITY_DETONATION (DisPduType 11 LIVE_ENTITY_LE_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 51 CREATE_ENTITY_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 52 REMOVE_ENTITY_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 53 START_RESUME_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 54 STOP_FREEZE_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 55 ACKNOWLEDGE_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 56 ACTION_REQUEST_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 57 ACTION_RESPONSE_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 58 DATA_QUERY_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 59 SET_DATA_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 60 DATA_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 61 EVENT_REPORT_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 62 COMMENT_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 63 RECORD_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 64 SET_RECORD_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 65 RECORD_QUERY_RELIABLE (DisPduType 10 SIMULATION_MANAGEMENT_WITH_RELIABILITY) +16:00:00 received new DIS PDU DisPduType 66 COLLISION_ELASTIC (DisPduType 1 ENTITY_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 67 ENTITY_STATE_UPDATE (DisPduType 1 ENTITY_INFORMATION_INTERACTION) +16:00:00 received new DIS PDU DisPduType 68 DIRECTED_ENERGY_FIRE (DisPduType 2 WARFARE) +16:00:00 received new DIS PDU DisPduType 69 ENTITY_DAMAGE_STATUS (DisPduType 2 WARFARE) +16:00:00 received new DIS PDU DisPduType 70 INFORMATION_OPERATIONS_ACTION (DisPduType 13 INFORMATION_OPERATIONS) +16:00:00 received new DIS PDU DisPduType 71 INFORMATION_OPERATIONS_REPORT (DisPduType 13 INFORMATION_OPERATIONS) +16:00:00 received new DIS PDU DisPduType 72 ATTRIBUTE (DisPduType 1 ENTITY_INFORMATION_INTERACTION) +BUILD STOPPED (total time: 36 seconds) diff --git a/examples/src/OpenDis7Examples/AllPduSender.java b/examples/src/OpenDis7Examples/AllPduSender.java index c5da07d2e87442103609a5b70461794242cb0032..654a1405a9108cb027133bf7884abb6deae8673c 100755 --- a/examples/src/OpenDis7Examples/AllPduSender.java +++ b/examples/src/OpenDis7Examples/AllPduSender.java @@ -84,18 +84,18 @@ public class AllPduSender // Loop through all the enumerated PDU types, create a PDU for each type, // add that PDU to generatedPdusList, then send each one - for (DISPDUType pdu : DISPDUType.values()) + for (DisPduType pduTypeValue : DisPduType.values()) { // System.out.println("PDU " + pdu.getValue() + " " + pdu.name() + " " + pdu.getDescription()); // diagnostic Pdu aPdu = null; // edu.​nps.​moves7.​dis.PDU superclass for all PDUs, in preparation for custom assignment try { - switch (pdu) // using enumeration values from edu.​nps.​moves.​dis7.​enumerations.​DISPDUType + switch (pduTypeValue) // using enumeration values from edu.​nps.​moves.​dis7.​enumerations.​DisPduType { - // each case value is DISPDUType + // each case value is DisPduType case OTHER: // 0 - System.out.println ("*** Note: DISPDUType." + pdu.name() + "=" + pdu.getValue() + " not supported"); // TODO why was this received? + System.out.println ("*** Note: DisPduType." + pduTypeValue.name() + "=" + pduTypeValue.getValue() + " not supported"); // TODO why was this received? break; // nothing to send case ENTITY_STATE: // 1 @@ -425,7 +425,7 @@ public class AllPduSender break; default: - System.out.println("*** Warning: PDU " + pdu.getValue() + " " + pdu + " not supported, created or sent "); + System.out.println("*** Warning: PDU " + pduTypeValue.getValue() + " " + pduTypeValue + " not supported, created or sent "); // code generation block for this class follows: // System.out.println(" case " + pdu + ": // " + pdu.getValue()); @@ -441,7 +441,7 @@ public class AllPduSender } catch (Exception e) { - System.out.print("Exception thrown for PDU " + pdu.getValue() + " " + pdu); + System.out.print("Exception thrown for PDU " + pduTypeValue.getValue() + " " + pduTypeValue); System.out.print(Arrays.toString(e.getStackTrace())); // continue looping } @@ -478,12 +478,19 @@ public class AllPduSender buffer = baos.toByteArray(); packet = new DatagramPacket(buffer, buffer.length, localMulticastAddress, DEFAULT_MULTICAST_PORT); multicastSocket.send(packet); - String currentPduTypeValuePadded = String.format("%2s", aPdu.getPduType().getValue()); - String currentPduTypePadded = String.format("%-50s", aPdu.getPduType().toString()); // - indicates right padding of whitespace + + DisPduType disPduType= aPdu.getPduType(); +// disPduType.setTRACE(true); + String currentIndexPadded = String.format("%2s", (idx + 1)); + String currentPduTypeValuePadded = String.format("%2s", disPduType.getValue()); + String currentPduTypePadded = String.format("%-49s", aPdu.getPduType().toString()); // - indicates right padding of whitespace String packetLengthPadded = String.format("%3s", packet.getLength()); - System.out.print ("Sent DIS PDU " + currentPduTypeValuePadded + " " + currentPduTypePadded ); - System.out.print ("(packet.getLength()=" + packetLengthPadded + ")"); // diagnostic, beware of ever-growing packet size! - System.out.println(" of type " + aPdu.getClass().getName()); + + System.out.println ("Sent packet #" + currentIndexPadded + ", " + +// currentPduTypeValuePadded + " " + + currentPduTypePadded + + "(packet.getLength()=" + packetLengthPadded + ")" + // diagnostic, beware of ever-growing packet size! + " of type " + aPdu.getClass().getName()); Thread.sleep(THREAD_SLEEP_INTERVAL); // pause for debugging, if zero this process still yields } diff --git a/examples/src/OpenDis7Examples/AllPduSenderLog.txt b/examples/src/OpenDis7Examples/AllPduSenderLog.txt index 7fed2cce8ad6d4296f477347a8be4b53781b244a..462c5db6274526a32ca08f79da5629ded473acd2 100644 --- a/examples/src/OpenDis7Examples/AllPduSenderLog.txt +++ b/examples/src/OpenDis7Examples/AllPduSenderLog.txt @@ -14,82 +14,82 @@ Usage: AllPduSender <multicast group> <port> Default: AllPduSender 239.1.2.3 3000 OpenDis7Examples.AllPduSender started... Generate list of all PDU types and note issues, if any... -*** Note: DISPDUType.OTHER=0 not supported +*** Note: DisPduType.OTHER=0 not supported Preparing CommentPDU: "Hello CommentPDU" "Here is a second line of text in this comment." Send the 72 PDUs we created... -Sent DIS PDU 1 DISPDUType 1 ENTITY_STATE (packet.getLength()=144) of type edu.nps.moves.dis7.pdus.EntityStatePdu -Sent DIS PDU 2 DISPDUType 2 FIRE (packet.getLength()= 96) of type edu.nps.moves.dis7.pdus.FirePdu -Sent DIS PDU 3 DISPDUType 3 DETONATION (packet.getLength()=104) of type edu.nps.moves.dis7.pdus.DetonationPdu -Sent DIS PDU 4 DISPDUType 4 COLLISION (packet.getLength()= 60) of type edu.nps.moves.dis7.pdus.CollisionPdu -Sent DIS PDU 5 DISPDUType 5 SERVICE_REQUEST (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ServiceRequestPdu -Sent DIS PDU 6 DISPDUType 6 RESUPPLY_OFFER (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ResupplyOfferPdu -Sent DIS PDU 7 DISPDUType 7 RESUPPLY_RECEIVED (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ResupplyReceivedPdu -Sent DIS PDU 8 DISPDUType 8 RESUPPLY_CANCEL (packet.getLength()= 24) of type edu.nps.moves.dis7.pdus.ResupplyCancelPdu -Sent DIS PDU 9 DISPDUType 9 REPAIR_COMPLETE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RepairCompletePdu -Sent DIS PDU 10 DISPDUType 10 REPAIR_RESPONSE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RepairResponsePdu -Sent DIS PDU 11 DISPDUType 11 CREATE_ENTITY (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.CreateEntityPdu -Sent DIS PDU 12 DISPDUType 12 REMOVE_ENTITY (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RemoveEntityPdu -Sent DIS PDU 13 DISPDUType 13 START_RESUME (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.StartResumePdu -Sent DIS PDU 14 DISPDUType 14 STOP_FREEZE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.StopFreezePdu -Sent DIS PDU 15 DISPDUType 15 ACKNOWLEDGE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AcknowledgePdu -Sent DIS PDU 16 DISPDUType 16 ACTION_REQUEST (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionRequestPdu -Sent DIS PDU 17 DISPDUType 17 ACTION_RESPONSE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionResponsePdu -Sent DIS PDU 18 DISPDUType 18 DATA_QUERY (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataQueryPdu -Sent DIS PDU 19 DISPDUType 19 SET_DATA (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetDataPdu -Sent DIS PDU 20 DISPDUType 20 DATA (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataPdu -Sent DIS PDU 21 DISPDUType 21 EVENT_REPORT (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.EventReportPdu -Sent DIS PDU 22 DISPDUType 22 COMMENT (packet.getLength()=112) of type edu.nps.moves.dis7.pdus.CommentPdu -Sent DIS PDU 23 DISPDUType 23 ELECTROMAGNETIC_EMISSION (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ElectromagneticEmissionPdu -Sent DIS PDU 24 DISPDUType 24 DESIGNATOR (packet.getLength()= 88) of type edu.nps.moves.dis7.pdus.DesignatorPdu -Sent DIS PDU 25 DISPDUType 25 TRANSMITTER (packet.getLength()=107) of type edu.nps.moves.dis7.pdus.TransmitterPdu -Sent DIS PDU 26 DISPDUType 26 SIGNAL (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.SignalPdu -Sent DIS PDU 27 DISPDUType 27 RECEIVER (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.ReceiverPdu -Sent DIS PDU 28 DISPDUType 28 IDENTIFICATION_FRIEND_OR_FOE (packet.getLength()= 60) of type edu.nps.moves.dis7.pdus.IdentificationFriendOrFoePdu -Sent DIS PDU 29 DISPDUType 29 UNDERWATER_ACOUSTIC (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.UnderwaterAcousticPdu -Sent DIS PDU 30 DISPDUType 30 SUPPLEMENTAL_EMISSION_ENTITY_STATE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.SupplementalEmissionEntityStatePdu -Sent DIS PDU 31 DISPDUType 31 INTERCOM_SIGNAL (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.IntercomSignalPdu -Sent DIS PDU 32 DISPDUType 32 INTERCOM_CONTROL (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.IntercomControlPdu -Sent DIS PDU 33 DISPDUType 33 AGGREGATE_STATE (packet.getLength()=136) of type edu.nps.moves.dis7.pdus.AggregateStatePdu -Sent DIS PDU 34 DISPDUType 34 ISGROUPOF (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.IsGroupOfPdu -Sent DIS PDU 35 DISPDUType 35 TRANSFER_OWNERSHIP (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.TransferOwnershipPdu -Sent DIS PDU 36 DISPDUType 36 ISPARTOF (packet.getLength()= 52) of type edu.nps.moves.dis7.pdus.IsPartOfPdu -Sent DIS PDU 37 DISPDUType 37 MINEFIELD_STATE (packet.getLength()= 72) of type edu.nps.moves.dis7.pdus.MinefieldStatePdu -Sent DIS PDU 38 DISPDUType 38 MINEFIELD_QUERY (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.MinefieldQueryPdu -Sent DIS PDU 39 DISPDUType 39 MINEFIELD_DATA (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.MinefieldDataPdu -Sent DIS PDU 40 DISPDUType 40 MINEFIELD_RESPONSE_NACK (packet.getLength()= 26) of type edu.nps.moves.dis7.pdus.MinefieldResponseNACKPdu -Sent DIS PDU 41 DISPDUType 41 ENVIRONMENTAL_PROCESS (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.EnvironmentalProcessPdu -Sent DIS PDU 42 DISPDUType 42 GRIDDED_DATA (packet.getLength()= 64) of type edu.nps.moves.dis7.pdus.GriddedDataPdu -Sent DIS PDU 43 DISPDUType 43 POINT_OBJECT_STATE (packet.getLength()= 91) of type edu.nps.moves.dis7.pdus.PointObjectStatePdu -Sent DIS PDU 44 DISPDUType 44 LINEAR_OBJECT_STATE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.LinearObjectStatePdu -Sent DIS PDU 45 DISPDUType 45 AREAL_OBJECT_STATE (packet.getLength()= 49) of type edu.nps.moves.dis7.pdus.ArealObjectStatePdu -Sent DIS PDU 46 DISPDUType 46 TIME_SPACE_POSITION_INFORMATION (packet.getLength()= 54) of type edu.nps.moves.dis7.pdus.TimeSpacePositionInformationPdu -Sent DIS PDU 47 DISPDUType 47 APPEARANCE (packet.getLength()= 67) of type edu.nps.moves.dis7.pdus.AppearancePdu -Sent DIS PDU 48 DISPDUType 48 ARTICULATED_PARTS (packet.getLength()= 17) of type edu.nps.moves.dis7.pdus.ArticulatedPartsPdu -Sent DIS PDU 49 DISPDUType 49 LIVE_ENTITY_FIRE (packet.getLength()= 67) of type edu.nps.moves.dis7.pdus.LiveEntityFirePdu -Sent DIS PDU 50 DISPDUType 50 LIVE_ENTITY_DETONATION (packet.getLength()= 79) of type edu.nps.moves.dis7.pdus.LiveEntityDetonationPdu -Sent DIS PDU 51 DISPDUType 51 CREATE_ENTITY_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.CreateEntityReliablePdu -Sent DIS PDU 52 DISPDUType 52 REMOVE_ENTITY_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.RemoveEntityReliablePdu -Sent DIS PDU 53 DISPDUType 53 START_RESUME_RELIABLE (packet.getLength()= 48) of type edu.nps.moves.dis7.pdus.StartResumeReliablePdu -Sent DIS PDU 54 DISPDUType 54 STOP_FREEZE_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.StopFreezeReliablePdu -Sent DIS PDU 55 DISPDUType 55 ACKNOWLEDGE_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AcknowledgeReliablePdu -Sent DIS PDU 56 DISPDUType 56 ACTION_REQUEST_RELIABLE (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.ActionRequestReliablePdu -Sent DIS PDU 57 DISPDUType 57 ACTION_RESPONSE_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionResponseReliablePdu -Sent DIS PDU 58 DISPDUType 58 DATA_QUERY_RELIABLE (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.DataQueryReliablePdu -Sent DIS PDU 59 DISPDUType 59 SET_DATA_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetDataReliablePdu -Sent DIS PDU 60 DISPDUType 60 DATA_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataReliablePdu -Sent DIS PDU 61 DISPDUType 61 EVENT_REPORT_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.EventReportReliablePdu -Sent DIS PDU 62 DISPDUType 62 COMMENT_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.CommentReliablePdu -Sent DIS PDU 63 DISPDUType 63 RECORD_RELIABLE (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.RecordReliablePdu -Sent DIS PDU 64 DISPDUType 64 SET_RECORD_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetRecordReliablePdu -Sent DIS PDU 65 DISPDUType 65 RECORD_QUERY_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.RecordQueryReliablePdu -Sent DIS PDU 66 DISPDUType 66 COLLISION_ELASTIC (packet.getLength()=100) of type edu.nps.moves.dis7.pdus.CollisionElasticPdu -Sent DIS PDU 67 DISPDUType 67 ENTITY_STATE_UPDATE (packet.getLength()= 72) of type edu.nps.moves.dis7.pdus.EntityStateUpdatePdu -Sent DIS PDU 68 DISPDUType 68 DIRECTED_ENERGY_FIRE (packet.getLength()= 88) of type edu.nps.moves.dis7.pdus.DirectedEnergyFirePdu -Sent DIS PDU 69 DISPDUType 69 ENTITY_DAMAGE_STATUS (packet.getLength()= 24) of type edu.nps.moves.dis7.pdus.EntityDamageStatusPdu -Sent DIS PDU 70 DISPDUType 70 INFORMATION_OPERATIONS_ACTION (packet.getLength()= 56) of type edu.nps.moves.dis7.pdus.InformationOperationsActionPdu -Sent DIS PDU 71 DISPDUType 71 INFORMATION_OPERATIONS_REPORT (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.InformationOperationsReportPdu -Sent DIS PDU 72 DISPDUType 72 ATTRIBUTE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AttributePdu +Sent packet # 1, DisPduType 01 ENTITY_STATE (packet.getLength()=144) of type edu.nps.moves.dis7.pdus.EntityStatePdu +Sent packet # 2, DisPduType 02 FIRE (packet.getLength()= 96) of type edu.nps.moves.dis7.pdus.FirePdu +Sent packet # 3, DisPduType 03 DETONATION (packet.getLength()=104) of type edu.nps.moves.dis7.pdus.DetonationPdu +Sent packet # 4, DisPduType 04 COLLISION (packet.getLength()= 60) of type edu.nps.moves.dis7.pdus.CollisionPdu +Sent packet # 5, DisPduType 05 SERVICE_REQUEST (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ServiceRequestPdu +Sent packet # 6, DisPduType 06 RESUPPLY_OFFER (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ResupplyOfferPdu +Sent packet # 7, DisPduType 07 RESUPPLY_RECEIVED (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ResupplyReceivedPdu +Sent packet # 8, DisPduType 08 RESUPPLY_CANCEL (packet.getLength()= 24) of type edu.nps.moves.dis7.pdus.ResupplyCancelPdu +Sent packet # 9, DisPduType 09 REPAIR_COMPLETE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RepairCompletePdu +Sent packet #10, DisPduType 10 REPAIR_RESPONSE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RepairResponsePdu +Sent packet #11, DisPduType 11 CREATE_ENTITY (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.CreateEntityPdu +Sent packet #12, DisPduType 12 REMOVE_ENTITY (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.RemoveEntityPdu +Sent packet #13, DisPduType 13 START_RESUME (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.StartResumePdu +Sent packet #14, DisPduType 14 STOP_FREEZE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.StopFreezePdu +Sent packet #15, DisPduType 15 ACKNOWLEDGE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AcknowledgePdu +Sent packet #16, DisPduType 16 ACTION_REQUEST (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionRequestPdu +Sent packet #17, DisPduType 17 ACTION_RESPONSE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionResponsePdu +Sent packet #18, DisPduType 18 DATA_QUERY (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataQueryPdu +Sent packet #19, DisPduType 19 SET_DATA (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetDataPdu +Sent packet #20, DisPduType 20 DATA (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataPdu +Sent packet #21, DisPduType 21 EVENT_REPORT (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.EventReportPdu +Sent packet #22, DisPduType 22 COMMENT (packet.getLength()=112) of type edu.nps.moves.dis7.pdus.CommentPdu +Sent packet #23, DisPduType 23 ELECTROMAGNETIC_EMISSION (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.ElectromagneticEmissionPdu +Sent packet #24, DisPduType 24 DESIGNATOR (packet.getLength()= 88) of type edu.nps.moves.dis7.pdus.DesignatorPdu +Sent packet #25, DisPduType 25 TRANSMITTER (packet.getLength()=107) of type edu.nps.moves.dis7.pdus.TransmitterPdu +Sent packet #26, DisPduType 26 SIGNAL (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.SignalPdu +Sent packet #27, DisPduType 27 RECEIVER (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.ReceiverPdu +Sent packet #28, DisPduType 28 IDENTIFICATION_FRIEND_OR_FOE (packet.getLength()= 60) of type edu.nps.moves.dis7.pdus.IdentificationFriendOrFoePdu +Sent packet #29, DisPduType 29 UNDERWATER_ACOUSTIC (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.UnderwaterAcousticPdu +Sent packet #30, DisPduType 30 SUPPLEMENTAL_EMISSION_ENTITY_STATE (packet.getLength()= 28) of type edu.nps.moves.dis7.pdus.SupplementalEmissionEntityStatePdu +Sent packet #31, DisPduType 31 INTERCOM_SIGNAL (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.IntercomSignalPdu +Sent packet #32, DisPduType 32 INTERCOM_CONTROL (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.IntercomControlPdu +Sent packet #33, DisPduType 33 AGGREGATE_STATE (packet.getLength()=136) of type edu.nps.moves.dis7.pdus.AggregateStatePdu +Sent packet #34, DisPduType 34 ISGROUPOF (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.IsGroupOfPdu +Sent packet #35, DisPduType 35 TRANSFER_OWNERSHIP (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.TransferOwnershipPdu +Sent packet #36, DisPduType 36 ISPARTOF (packet.getLength()= 52) of type edu.nps.moves.dis7.pdus.IsPartOfPdu +Sent packet #37, DisPduType 37 MINEFIELD_STATE (packet.getLength()= 72) of type edu.nps.moves.dis7.pdus.MinefieldStatePdu +Sent packet #38, DisPduType 38 MINEFIELD_QUERY (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.MinefieldQueryPdu +Sent packet #39, DisPduType 39 MINEFIELD_DATA (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.MinefieldDataPdu +Sent packet #40, DisPduType 40 MINEFIELD_RESPONSE_NACK (packet.getLength()= 26) of type edu.nps.moves.dis7.pdus.MinefieldResponseNACKPdu +Sent packet #41, DisPduType 41 ENVIRONMENTAL_PROCESS (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.EnvironmentalProcessPdu +Sent packet #42, DisPduType 42 GRIDDED_DATA (packet.getLength()= 64) of type edu.nps.moves.dis7.pdus.GriddedDataPdu +Sent packet #43, DisPduType 43 POINT_OBJECT_STATE (packet.getLength()= 91) of type edu.nps.moves.dis7.pdus.PointObjectStatePdu +Sent packet #44, DisPduType 44 LINEAR_OBJECT_STATE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.LinearObjectStatePdu +Sent packet #45, DisPduType 45 AREAL_OBJECT_STATE (packet.getLength()= 49) of type edu.nps.moves.dis7.pdus.ArealObjectStatePdu +Sent packet #46, DisPduType 46 TIME_SPACE_POSITION_INFORMATION (packet.getLength()= 54) of type edu.nps.moves.dis7.pdus.TimeSpacePositionInformationPdu +Sent packet #47, DisPduType 47 APPEARANCE (packet.getLength()= 67) of type edu.nps.moves.dis7.pdus.AppearancePdu +Sent packet #48, DisPduType 48 ARTICULATED_PARTS (packet.getLength()= 17) of type edu.nps.moves.dis7.pdus.ArticulatedPartsPdu +Sent packet #49, DisPduType 49 LIVE_ENTITY_FIRE (packet.getLength()= 67) of type edu.nps.moves.dis7.pdus.LiveEntityFirePdu +Sent packet #50, DisPduType 50 LIVE_ENTITY_DETONATION (packet.getLength()= 79) of type edu.nps.moves.dis7.pdus.LiveEntityDetonationPdu +Sent packet #51, DisPduType 51 CREATE_ENTITY_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.CreateEntityReliablePdu +Sent packet #52, DisPduType 52 REMOVE_ENTITY_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.RemoveEntityReliablePdu +Sent packet #53, DisPduType 53 START_RESUME_RELIABLE (packet.getLength()= 48) of type edu.nps.moves.dis7.pdus.StartResumeReliablePdu +Sent packet #54, DisPduType 54 STOP_FREEZE_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.StopFreezeReliablePdu +Sent packet #55, DisPduType 55 ACKNOWLEDGE_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AcknowledgeReliablePdu +Sent packet #56, DisPduType 56 ACTION_REQUEST_RELIABLE (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.ActionRequestReliablePdu +Sent packet #57, DisPduType 57 ACTION_RESPONSE_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.ActionResponseReliablePdu +Sent packet #58, DisPduType 58 DATA_QUERY_RELIABLE (packet.getLength()= 44) of type edu.nps.moves.dis7.pdus.DataQueryReliablePdu +Sent packet #59, DisPduType 59 SET_DATA_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetDataReliablePdu +Sent packet #60, DisPduType 60 DATA_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.DataReliablePdu +Sent packet #61, DisPduType 61 EVENT_REPORT_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.EventReportReliablePdu +Sent packet #62, DisPduType 62 COMMENT_RELIABLE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.CommentReliablePdu +Sent packet #63, DisPduType 63 RECORD_RELIABLE (packet.getLength()= 36) of type edu.nps.moves.dis7.pdus.RecordReliablePdu +Sent packet #64, DisPduType 64 SET_RECORD_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.SetRecordReliablePdu +Sent packet #65, DisPduType 65 RECORD_QUERY_RELIABLE (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.RecordQueryReliablePdu +Sent packet #66, DisPduType 66 COLLISION_ELASTIC (packet.getLength()=100) of type edu.nps.moves.dis7.pdus.CollisionElasticPdu +Sent packet #67, DisPduType 67 ENTITY_STATE_UPDATE (packet.getLength()= 72) of type edu.nps.moves.dis7.pdus.EntityStateUpdatePdu +Sent packet #68, DisPduType 68 DIRECTED_ENERGY_FIRE (packet.getLength()= 88) of type edu.nps.moves.dis7.pdus.DirectedEnergyFirePdu +Sent packet #69, DisPduType 69 ENTITY_DAMAGE_STATUS (packet.getLength()= 24) of type edu.nps.moves.dis7.pdus.EntityDamageStatusPdu +Sent packet #70, DisPduType 70 INFORMATION_OPERATIONS_ACTION (packet.getLength()= 56) of type edu.nps.moves.dis7.pdus.InformationOperationsActionPdu +Sent packet #71, DisPduType 71 INFORMATION_OPERATIONS_REPORT (packet.getLength()= 40) of type edu.nps.moves.dis7.pdus.InformationOperationsReportPdu +Sent packet #72, DisPduType 72 ATTRIBUTE (packet.getLength()= 32) of type edu.nps.moves.dis7.pdus.AttributePdu OpenDis7Examples.AllPduSender complete, sent 72 PDUs total. BUILD SUCCESSFUL (total time: 4 seconds)