Class PduFactory

java.lang.Object
edu.nps.moves.dis7.utilities.PduFactory

public class PduFactory extends Object
PduFactory.java created on Jun 14, 2019 MOVES Institute Naval Postgraduate School, Monterey, CA, USA www.nps.edu

A class to 1) create new Pdus (for sending purposes) and 2) create Pdus from byte streams received from the net.

For the first use case, pdus will be initialized with country, exerciseId, siteId, applicationId and timestamp format, matching the parameters passed to the constructor. For no arg constructor, the defaults of USA, 1, 2, 3, and absolute timestamp are used.

Version:
$Id$
Author:
Mike Bailey, jmbailey@nps.edu