Class AllPduSender

java.lang.Object
edu.nps.moves.dis7.examples.AllPduSender

public class AllPduSender extends Object
This is an application example that sends every type of PDU defined by the IEEE Distributed Interactive Simulation (DIS) Protocol. This example program is useful for testing standards compliance by applications, or producing a full set of PDUs. It also writes the generated PDUs to an XML file. Adapted from OpenDIS library example package edu.nps.moves.examples
Author:
brutzman, DMcG
  • Field Details

  • Constructor Details

    • AllPduSender

      public AllPduSender(String newMulticastAddress, int newMulticastPort)
      Object constructor
      Parameters:
      newMulticastAddress - address of interest
      newMulticastPort - port of interest
  • Method Details

    • run

      public int run()
      Begin operations
      Returns:
      number of PDUs received, -1 if exception occurs
    • main

      public static void main(String[] args)
      Program invocation, execution starts here
      Parameters:
      args - command-line arguments