Class PduListenerSaver

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

public class PduListenerSaver extends Object
Class to leverage the PduRecorder with PDU log saving console controls for resume, pause and quit. PduSaver.java created on Aug 21, 2019 Renamed PduListenerSaver MOVES Institute Naval Postgraduate School, Monterey, CA, USA www.nps.edu
Author:
Mike Bailey, jmbailey@nps.edu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    Default multicast group address 239.1.2.3 for send and receive connections.
    static int
    Default socket port 3000, matches Wireshark DIS capture default
  • Constructor Summary

    Constructors
    Constructor
    Description
    Object constructor using default multicast address and port
    PduListenerSaver​(String address, int port)
    Object constructor using specified multicast address and port
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main​(String[] args)
    Command-line invocation (CLI), execution starts here

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PduListenerSaver

      public PduListenerSaver()
      Object constructor using default multicast address and port
    • PduListenerSaver

      public PduListenerSaver(String address, int port)
      Object constructor using specified multicast address and port
      Parameters:
      address - the multicast group or unicast address to utilize
      port - the multicast port to utilize
  • Method Details

    • main

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