Uses of Class
edu.nps.moves.dis7.pdus.Pdu

Packages that use Pdu
Package
Description
Example classes using edu.nps.moves.dis7 library.
Utility classes supporting edu.nps.moves.dis7 library.
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

    Classes in edu.nps.moves.dis7.examples that implement interfaces with type arguments of type Pdu
    Modifier and Type
    Class
    Description
    class 
    A comparator that is used by the java util classes for sorting.
    Methods in edu.nps.moves.dis7.examples with parameters of type Pdu
    Modifier and Type
    Method
    Description
    int
    ClassNameComparator.compare(Pdu object1, Pdu object2)
    Returns a number less than, equal to, or greater than zero, depending on whether the object is lexically less than, equal to, or greater than the other object.
  • Uses of Pdu in edu.nps.moves.dis7.pdus

    Subclasses of Pdu in edu.nps.moves.dis7.pdus
    Modifier and Type
    Class
    Description
    class 
    7.5.6 Acknowledges the receipt of a Start/Resume PDU, Stop/Freeze PDU, Create Entity PDU, or Remove Entity PDU.
    final class 
    Alias, more descriptive name for AcknowledgeRPdu.
    class 
    5.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.
    class 
    7.5.7 A request from a Simulation Manager (SM) to a managed entity to perform a specified action.
    final class 
    Alias, more descriptive name for ActionRequestRPdu.
    class 
    5.12.4.7 Serves the same function as the Action Request PDU but with the addition of reliability service levels.
    class 
    Section 7.5.8.
    final class 
    Alias, more descriptive name for ActionResponseRPdu.
    class 
    5.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.
    class 
    5.9.2.2 The Aggregate State PDU shall be used to communicate the state and other pertinent information about an aggregated unit.
    class 
    9.4.3 Communicate information about the appearance of a live entity.
    class 
    7.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.
    class 
    9.4.4 Communicate information about an entity’s articulated and attached parts.
    class 
    7.2.6.
    class 
    7.2.4 Information about elastic collisions in a DIS exercise shall be communicated using a Collision-Elastic PDU.
    class 
    7.2.3 Collisions between entities shall be communicated by issuing a Collision PDU.
    class 
    7.5.13 Used to enter arbitrary messages (character strings, for example).
    final class 
    Alias, more descriptive name for CommentRPdu.
    class 
    5.12.4.13 Serves the same function as the Comment PDU.
    class 
    Section 7.5.2.
    final class 
    Alias, more descriptive name for CreateEntityRPdu.
    class 
    5.12.4.2 Serves the same function as the Create Entity PDU but with the addition of reliability service levels.
    class 
    7.5.11 Information issued in response to a Data Query PDU or Set Data PDU.
    class 
    Section 7.5.9.
    final class 
    Alias, more descriptive name for DataQueryRPdu.
    class 
    5.12.4.9 Serves the same function as the Data Query PDU but with the addition of reliability service levels
    final class 
    Alias, more descriptive name for DataRPdu.
    class 
    5.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.
    class 
    7.6.3 Handles designating operations.
    class 
    7.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.
    class 
    7.3.4 Used to communicate the firing of a directed energy weapon.
    class 
    Section 5.3.7.
    class 
    7.6.2 Communicate active electromagnetic emissions, including radar and radar-related electronic warfare (e.g., jamming).
    class 
    7.3.5 Used to communicate detailed damage information sustained by an entity regardless of the source of the damage.
    class 
    Section 5.3.3.
    class 
    Managment of grouping of PDUs, and more.
    class 
    7.2.2.
    class 
    7.2.5.
    class 
    7.10.2 Used to communicate information about environmental effects and processes.
    class 
    7.5.12 A managed entity shall report the occurrence of a significant event to the simulation manager (SM) using an Event Report PDU.
    final class 
    Alias, more descriptive name for EventReportRPdu.
    class 
    5.12.4.12 Contains the same information as found in the Event Report PDU.
    class 
    7.3.2 Used to communicate the firing of a weapon or expendable.
    class 
    7.10.3 Used to communicate information about global, spatially varying environmental effects.
    final class 
    alias, more descriptive name for an IFFPdu.
    class 
    7.6.5.1 Information about military and civilian interrogators, transponders, and specific other electronic systems.
    class 
    5.13.3.1 Used to communicate an IO attack or the effects of an IO attack on one or more target entities.
    class 
    Information 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.
    class 
    5.13.4.1 Used to communicate the effects of an IO attack on one or more target entities.
    class 
    5.8.7 Communicates the state of a particular intercom device, request an action of another intercom device, or respond to an action request.
    class 
    5.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 Protocols
    class 
    5.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 Protocols
    class 
    5.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.
    class 
    5.9.5 Used to request hierarchical linkage of separately hosted simulation entities
    class 
    9.4.6 Communicate information associated with the impact or detonation of a munition.
    class 
    9.4.5 Representation of weapons fire in a DIS exercise involving LEs.
    class 
    7.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 class 
    Alias, more descriptive name for LEDetonationPdu.
    class 
    Does not inherit from PduBase.
    final class 
    Alias, more descriptive name for LEFirePdu.
    class 
    Abstract superclass for logistics PDUs.
    class 
    5.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.
    class 
    Abstract superclass for PDUs relating to minefields.
    class 
    5.10.3 Contains information about the requesting entity and the region and mine types of interest to the requesting entity.
    class 
    5.10.5 Contains information about the requesting entity and the PDU(s) that were not received in response to a query.
    class 
    5.10.2 Communicate information about the minefield, including the location, perimeter, and types of mines contained within it.
    class 
    The superclass for all PDUs except LiveEntity.
    class 
    7.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.
    class 
    Abstract superclass for radio communications PDUs.
    class 
    5.8.5 Communicates the state of a particular radio receiver.
    final class 
    Alias, more descriptive name for RecordQueryRPdu.
    class 
    5.12.4.14 Used to communicate a request for data in record format.
    final class 
    Alias, more descriptive name for RecordRPdu.
    class 
    5.12.4.16 Used to respond to a Record Query-R PDU or a Set Record-R PDU.
    class 
    Section 7.5.3 The removal of an entity from an exercise shall be communicated with a Remove Entity PDU.
    final class 
    Alias, more descriptive name for RemoveEntityRPdu.
    class 
    5.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.
    class 
    5.5.10 Used by the repairing entity to communicate the repair that has been performed for the entity that requested repair service.
    class 
    5.5.11 used by the receiving entity to acknowledge the receipt of a Repair Complete PDU
    class 
    5.5.8 Used to communicate the canceling of a resupply service provided through logistics support.
    class 
    5.5.6 Communicate the offer of supplies by a supplying entity to a receiving entity.
    class 
    5.5.7 Used to acknowledge the receipt of supplies by the receiving entity.
    class 
    7.6.6 Certain supplemental information on an entity’s physical state and emissions.
    class 
    5.5.5 Communicate information associated with one entity requesting a service from another.
    class 
    Section 7.5.10.
    final class 
    Alias, more descriptive name for SetDataRPdu.
    class 
    5.12.4.10 Serves the same function as the Set Data PDU but with the addition of reliability service levels.
    final class 
    Alias, more descriptive name for SetRecordRPdu.
    class 
    5.12.4.15 Used to set or change certain parameter values.
    class 
    5.8.4, 7.7.3 Conveys the audio or digital data carried by the simulated radio or intercom transmission.
    class 
    5.8.4, 7.7.3 Conveys the audio or digital data carried by the simulated radio or intercom transmission.
    class 
    First part of a simulation management (SIMAN) PDU and SIMAN-Reliability (SIMAN-R) PDU.
    class 
    Simulation 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,
    class 
    Section 7.5.4.
    final class 
    Alias, more descriptive name for StartResumeRPdu.
    class 
    5.12.4.4 Serves the same function as the Start/Resume PDU but with the addition of reliability service levels
    class 
    Section 7.5.5.
    final class 
    Alias, more descriptive name for StopFreezeRPdu.
    class 
    5.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 class 
    Alias, more descriptive name for SEESPdu.
    class 
    Section 5.3.11: Abstract superclass for synthetic environment PDUs
    final class 
    Alias, more descriptive name for TSPIPdu.
    class 
    Information initiating the dyanic allocation and control of simulation entities between two simulation applications.
    class 
    5.8.3 Communicates the state of a particular radio transmitter or simple intercom.
    class 
    9.4.2 The Time Space Position Information (TSPI) PDU shall communicate information about the LE’s state vector.
    class 
    7.6.4 Information about underwater acoustic emmissions.
    class 
    Abstract superclass for fire and detonation pdus that have shared information.
    Methods in edu.nps.moves.dis7.pdus that return Pdu
    Modifier and Type
    Method
    Description
    Create deep copy of current object using PduFactory.
    Pdu.setExerciseID(byte pExerciseID)
    Setter for exerciseID
    Pdu.setExerciseID(int pExerciseID)
    Utility setter for exerciseID
    Pdu.setLength(int pLength)
    Utility setter for length
    Pdu.setLength(short pLength)
    Setter for length
    Pdu.setPduType(DisPduType pPduType)
    Setter for pduType
    Pdu.setProtocolFamily(DISProtocolFamily pProtocolFamily)
    Setter for protocolFamily
    Pdu.setProtocolVersion(DISProtocolVersion pProtocolVersion)
    Setter for protocolVersion
    Pdu.setTimestamp(int pTimestamp)
    Setter for timestamp Warning: this method sets a DIS bit pattern
    Pdu.setTimestampSeconds(double newTimestamp)
    Utility setter for timestamp converting double (or float) to Timestamp in seconds at 2^31 - 1 units past top of hour
    Methods in edu.nps.moves.dis7.pdus with parameters of type Pdu
    Modifier and Type
    Method
    Description
    boolean
    Pdu.occursAfter(Pdu pdu2)
    Whether or not timestamp for this Pdu occurs after timestamp as another Pdu.
    boolean
    Pdu.occursBefore(Pdu pdu2)
    Whether or not timestamp for this Pdu occurs before timestamp as another Pdu.
    boolean
    Pdu.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 Pdu
    Modifier and Type
    Method
    Description
    protected boolean
    PduTest.compare(Pdu pdu1, Pdu pdu2)
    Compare all values of these two objects and report if identical
    protected void
    PduTest.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 void
    DetonationPduTest.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 void
    EntityStatePduTest.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 void
    FirePduTest.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 void
    IFFPduTest.testOnePdu(Pdu createdPdu)
     
    protected abstract void
    PduTest.testOnePdu(Pdu createdPdu)
    Test single PDU for correctness according to all contained fields in this PDU type
    protected void
    PduTest.testPduCommonFields(Pdu createdPdu)
    Test common PDU characteristics, independent of PDU type.
    protected void
    PduTest.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 Pdu
    Modifier and Type
    Method
    Description
    PduFactory.createPdu(byte[] data)
    PDU builder.
    PduFactory.createPdu(DisPduType pduType)
    Create and add initial properties to an empty PDU of the given type
    PduFactory.createPdu(ByteBuffer byteBuffer)
    PDU builder.
    TrialDisMulticastNetworkingDeprecated.receivePdu()
    Deprecated.
    deprecated do not use
    Methods in edu.nps.moves.dis7.utilities that return types with arguments of type Pdu
    Modifier and Type
    Method
    Description
    PduFactory.getPdusFromBundle(byte[] data, int length)
    Decodes datagram contents with bundled PDUs.
    Methods in edu.nps.moves.dis7.utilities with parameters of type Pdu
    Modifier and Type
    Method
    Description
    void
    DisThreadedNetworkInterface.PduListener.incomingPdu(Pdu pdu)
    Callback method to handle incomingPdu
    void
    TrialDisMulticastNetworkingDeprecated.sendPdu(Pdu pdu)
    Deprecated.
    deprecated do not use
    void
    DisThreadedNetworkInterface.sendPDU(Pdu pdu)
    Send 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.
    void
    DisChannel.sendSinglePdu(double timestampSeconds, Pdu pdu)
    Send a single Protocol Data Unit (PDU) of any type, after setting the PDU with given timestamp in seconds
    void
    DisChannel.sendSinglePdu(Pdu pdu)
    Send a single Protocol Data Unit (PDU) of any type, using timestamp value already provided in PDU
    void
    DisChannel.sendSinglePduDelayed(Pdu pdu, long delayTimeMilliseconds)
    Send a single Protocol Data Unit (PDU) of any type following a real-time delay