package mil.navy.nps.dis; /** * * PduSubscriber interface for receivePDU () methods. * * This is an interface, a list of methods that a class can implement. * If the class does in fact implement all of the methods declared here, * it is said to implement the interface. * * The interface here consists of a single method, receivePDU(). Presumably * this object has registered itself with a PDUPublisher object via * an addListener() method. That object will in turn send PDUs to us. * The intention here is to closely match the technique and methods * used in the Java 1.1 event model. * * This is an example of the Observer pattern. See _Design Patterns_, * Gamma, Helm, Johnson, & Vlissides, pp. 293-303. * * @version 1.0 * @author Don McGregor (http://www.npsnet.org/~mcgredo) * *