Uses of Class
edu.nps.moves.dis7.pdus.Pdu
Packages that use Pdu
Package
Description
Example classes using edu.nps.moves.dis7 library.
IEEE DIS Protocol Data Unit (PDU) packet definition classes.
This package includes a variety of PDU unit tests to confirm opendis7-java code correctness.
Utility classes supporting edu.nps.moves.dis7 library.
-
Uses of Pdu in edu.nps.moves.dis7.examples
Methods in edu.nps.moves.dis7.examples with parameters of type Pdu -
Uses of Pdu in edu.nps.moves.dis7.pdus
Subclasses of Pdu in edu.nps.moves.dis7.pdusModifier and TypeClassDescriptionclass7.5.6 Acknowledges the receipt of a Start/Resume PDU, Stop/Freeze PDU, Create Entity PDU, or Remove Entity PDU.final classAlias, more descriptive name for AcknowledgeRPdu.class5.12.4.6 Serves the same function as the Acknowledge PDU but is used to acknowledge the receipt of a Create Entity-R PDU, a Remove Entity-R PDU, a Start/Resume-R PDU, or a Stop/Freeze-R PDU.class7.5.7 A request from a Simulation Manager (SM) to a managed entity to perform a specified action.final classAlias, more descriptive name for ActionRequestRPdu.class5.12.4.7 Serves the same function as the Action Request PDU but with the addition of reliability service levels.classSection 7.5.8.final classAlias, more descriptive name for ActionResponseRPdu.class5.12.4.8 Serves the same function as the Action Response PDU (see 5.6.5.8.1) but is used to acknowledge the receipt of an Action Request-R PDU.class5.9.2.2 The Aggregate State PDU shall be used to communicate the state and other pertinent information about an aggregated unit.class9.4.3 Communicate information about the appearance of a live entity.class7.10.6 Used to communicate detailed information about the addition/modification of a synthetic environment object that is geometrically anchored to the terrain with a set of three or more points that come to a closure.class9.4.4 Communicate information about an entity’s articulated and attached parts.class7.2.6.class7.2.4 Information about elastic collisions in a DIS exercise shall be communicated using a Collision-Elastic PDU.class7.2.3 Collisions between entities shall be communicated by issuing a Collision PDU.class7.5.13 Used to enter arbitrary messages (character strings, for example).final classAlias, more descriptive name for CommentRPdu.class5.12.4.13 Serves the same function as the Comment PDU.classSection 7.5.2.final classAlias, more descriptive name for CreateEntityRPdu.class5.12.4.2 Serves the same function as the Create Entity PDU but with the addition of reliability service levels.class7.5.11 Information issued in response to a Data Query PDU or Set Data PDU.classSection 7.5.9.final classAlias, more descriptive name for DataQueryRPdu.class5.12.4.9 Serves the same function as the Data Query PDU but with the addition of reliability service levelsfinal classAlias, more descriptive name for DataRPdu.class5.12.4.11 Serves the same function as the Data PDU but with the addition of reliability service levels and is used in response to a Data Query-R PDU, a Data-R PDU, or a Set Data-R PDU.class7.6.3 Handles designating operations.class7.3.3 Used to communicate the detonation or impact of munitions, as well as non-munition explosions, the burst or initial bloom of chaff, and the ignition of a flare.class7.3.4 Used to communicate the firing of a directed energy weapon.classSection 5.3.7.class7.6.2 Communicate active electromagnetic emissions, including radar and radar-related electronic warfare (e.g., jamming).class7.3.5 Used to communicate detailed damage information sustained by an entity regardless of the source of the damage.classSection 5.3.3.classManagment of grouping of PDUs, and more.class7.2.2.class7.2.5.class7.10.2 Used to communicate information about environmental effects and processes.class7.5.12 A managed entity shall report the occurrence of a significant event to the simulation manager (SM) using an Event Report PDU.final classAlias, more descriptive name for EventReportRPdu.class5.12.4.12 Contains the same information as found in the Event Report PDU.class7.3.2 Used to communicate the firing of a weapon or expendable.class7.10.3 Used to communicate information about global, spatially varying environmental effects.final classalias, more descriptive name for an IFFPdu.class7.6.5.1 Information about military and civilian interrogators, transponders, and specific other electronic systems.class5.13.3.1 Used to communicate an IO attack or the effects of an IO attack on one or more target entities.classInformation operations (IO) are the integrated employment of electronic warfare (EW), computer network operations (CNO), psychological operations (PSYOP), military deception (MILDEC), and operations security (OPSEC), along with specific supporting capabilities, to influence, disrupt, corrupt, or otherwise affect enemy information and decision making while protecting friendly information operations.class5.13.4.1 Used to communicate the effects of an IO attack on one or more target entities.class5.8.7 Communicates the state of a particular intercom device, request an action of another intercom device, or respond to an action request.class5.8.6 Conveys the audio or digital data that is used to communicate between simulated intercom devices IEEE Std 1278.1-2012, IEEE Standard for Distributed Interactive Simulation—Application Protocolsclass5.8.6 Conveys the audio or digital data that is used to communicate between simulated intercom devices IEEE Std 1278.1-2012, IEEE Standard for Distributed Interactive Simulation—Application Protocolsclass5.9.3.1 The IsGroupOf PDU shall communicate information about the individual states of a group of entities, including state information that is necessary for the receiving simulation applications to represent the issuing group of entities in the simulation applications’ own simulation.class5.9.5 Used to request hierarchical linkage of separately hosted simulation entitiesclass9.4.6 Communicate information associated with the impact or detonation of a munition.class9.4.5 Representation of weapons fire in a DIS exercise involving LEs.class7.10.5 Used to communicate detailed information about the addition/modification of a synthetic environment object that is geometrically anchored to the terrain with one point and has size and orientation.final classAlias, more descriptive name for LEDetonationPdu.classDoes not inherit from PduBase.final classAlias, more descriptive name for LEFirePdu.classAbstract superclass for logistics PDUs.class5.10.4 Information about the location and status of a collection of mines in a minefield is conveyed through the Minefield Data PDU on an individual mine basis.classAbstract superclass for PDUs relating to minefields.class5.10.3 Contains information about the requesting entity and the region and mine types of interest to the requesting entity.class5.10.5 Contains information about the requesting entity and the PDU(s) that were not received in response to a query.class5.10.2 Communicate information about the minefield, including the location, perimeter, and types of mines contained within it.classThe superclass for all PDUs except LiveEntity.class7.10.4 Used to communicate detailed information about the addition/modification of a synthetic environment object that is geometrically anchored to the terrain with a single point.classAbstract superclass for radio communications PDUs.class5.8.5 Communicates the state of a particular radio receiver.final classAlias, more descriptive name for RecordQueryRPdu.class5.12.4.14 Used to communicate a request for data in record format.final classAlias, more descriptive name for RecordRPdu.class5.12.4.16 Used to respond to a Record Query-R PDU or a Set Record-R PDU.classSection 7.5.3 The removal of an entity from an exercise shall be communicated with a Remove Entity PDU.final classAlias, more descriptive name for RemoveEntityRPdu.class5.12.4.3 Contains the same information as found in the Remove Entity PDU with the addition of the level of reliability service to be used for the removal action being requested.class5.5.10 Used by the repairing entity to communicate the repair that has been performed for the entity that requested repair service.class5.5.11 used by the receiving entity to acknowledge the receipt of a Repair Complete PDUclass5.5.8 Used to communicate the canceling of a resupply service provided through logistics support.class5.5.6 Communicate the offer of supplies by a supplying entity to a receiving entity.class5.5.7 Used to acknowledge the receipt of supplies by the receiving entity.class7.6.6 Certain supplemental information on an entity’s physical state and emissions.class5.5.5 Communicate information associated with one entity requesting a service from another.classSection 7.5.10.final classAlias, more descriptive name for SetDataRPdu.class5.12.4.10 Serves the same function as the Set Data PDU but with the addition of reliability service levels.final classAlias, more descriptive name for SetRecordRPdu.class5.12.4.15 Used to set or change certain parameter values.class5.8.4, 7.7.3 Conveys the audio or digital data carried by the simulated radio or intercom transmission.class5.8.4, 7.7.3 Conveys the audio or digital data carried by the simulated radio or intercom transmission.classFirst part of a simulation management (SIMAN) PDU and SIMAN-Reliability (SIMAN-R) PDU.classSimulation Management with Reliability PDUs with reliability service levels in a DIS exercise are an alternative to the Simulation Management PDUs, and may or may not be required for participation in an DIS exercise,classSection 7.5.4.final classAlias, more descriptive name for StartResumeRPdu.class5.12.4.4 Serves the same function as the Start/Resume PDU but with the addition of reliability service levelsclassSection 7.5.5.final classAlias, more descriptive name for StopFreezeRPdu.class5.12.4.5 Serves the same function as the Stop/Freeze PDU (see 5.6.5.5.1) but with the addition of reliability service levels.final classAlias, more descriptive name for SEESPdu.classSection 5.3.11: Abstract superclass for synthetic environment PDUsfinal classAlias, more descriptive name for TSPIPdu.classInformation initiating the dyanic allocation and control of simulation entities between two simulation applications.class5.8.3 Communicates the state of a particular radio transmitter or simple intercom.class9.4.2 The Time Space Position Information (TSPI) PDU shall communicate information about the LE’s state vector.class7.6.4 Information about underwater acoustic emmissions.classAbstract superclass for fire and detonation pdus that have shared information.Methods in edu.nps.moves.dis7.pdus that return PduModifier and TypeMethodDescriptionPdu.copyByPduFactory()Create deep copy of current object using PduFactory.Pdu.setExerciseID(byte pExerciseID) Setter forexerciseIDPdu.setExerciseID(int pExerciseID) Utility setter forexerciseIDPdu.setLength(int pLength) Utility setter forlengthPdu.setLength(short pLength) Setter forlengthPdu.setPduType(DisPduType pPduType) Setter forpduTypePdu.setProtocolFamily(DISProtocolFamily pProtocolFamily) Setter forprotocolFamilyPdu.setProtocolVersion(DISProtocolVersion pProtocolVersion) Setter forprotocolVersionPdu.setTimestamp(int pTimestamp) Setter fortimestampWarning: this method sets a DIS bit patternPdu.setTimestampSeconds(double newTimestamp) Utility setter fortimestampconverting double (or float) to Timestamp in seconds at 2^31 - 1 units past top of hourMethods in edu.nps.moves.dis7.pdus with parameters of type PduModifier and TypeMethodDescriptionbooleanPdu.occursAfter(Pdu pdu2) Whether or not timestamp for this Pdu occurs after timestamp as another Pdu.booleanPdu.occursBefore(Pdu pdu2) Whether or not timestamp for this Pdu occurs before timestamp as another Pdu.booleanPdu.occursSameTime(Pdu pdu2) Whether or not this Pdu occurs at same timestamp as another Pdu. -
Uses of Pdu in edu.nps.moves.dis7.test
Methods in edu.nps.moves.dis7.test with parameters of type PduModifier and TypeMethodDescriptionprotected booleanCompare all values of these two objects and report if identicalprotected voidPduTest.sendIeeeStandardPdu(Pdu createdPdu) Handler that passes PDU to DIS network interface for marshalling (serialization), which then sends IEEE Standard (binary) PDU to self, which is then read separately for unmarshalling (deserialization) further unit testing.protected voidDetonationPduTest.testOnePdu(Pdu createdPdu) Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)protected voidEntityStatePduTest.testOnePdu(Pdu createdPdu) Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)protected voidFirePduTest.testOnePdu(Pdu createdPdu) Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)protected voidIFFPduTest.testOnePdu(Pdu createdPdu) protected abstract voidPduTest.testOnePdu(Pdu createdPdu) Test single PDU for correctness according to all contained fields in this PDU typeprotected voidPduTest.testPduCommonFields(Pdu createdPdu) Test common PDU characteristics, independent of PDU type.protected voidPduTest.testPduSendReceiveHeaderMatch(Pdu createdPdu) Initial common tests for fields in PDU header. -
Uses of Pdu in edu.nps.moves.dis7.utilities
Methods in edu.nps.moves.dis7.utilities that return PduModifier and TypeMethodDescriptionPduFactory.createPdu(byte[] data) PDU builder.PduFactory.createPdu(DisPduType pduType) Create and add initial properties to an empty PDU of the given typePduFactory.createPdu(ByteBuffer byteBuffer) PDU builder.TrialDisMulticastNetworkingDeprecated.receivePdu()Deprecated.deprecated do not useMethods in edu.nps.moves.dis7.utilities that return types with arguments of type PduModifier and TypeMethodDescriptionPduFactory.getPdusFromBundle(byte[] data, int length) Decodes datagram contents with bundled PDUs.Methods in edu.nps.moves.dis7.utilities with parameters of type PduModifier and TypeMethodDescriptionvoidDisThreadedNetworkInterface.PduListener.incomingPdu(Pdu pdu) Callback method to handle incomingPduvoidDeprecated.deprecated do not usevoidSend the given pdu to the network using the IP address and port given to the constructor using a deep copy to avoid later modifications to the original pdu having any effect on already-buffered output pdu instances.voidDisChannel.sendSinglePdu(double timestampSeconds, Pdu pdu) Send a single Protocol Data Unit (PDU) of any type, after setting the PDU with given timestamp in secondsvoidDisChannel.sendSinglePdu(Pdu pdu) Send a single Protocol Data Unit (PDU) of any type, using timestamp value already provided in PDUvoidDisChannel.sendSinglePduDelayed(Pdu pdu, long delayTimeMilliseconds) Send a single Protocol Data Unit (PDU) of any type following a real-time delay