Class DISConnectionHandler
java.lang.Object
org.web3d.vrml.renderer.common.input.dis.DISConnectionHandler
- All Implemented Interfaces:
edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface.PduListener
public class DISConnectionHandler
extends Object
implements edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface.PduListener
Network connection handler for native DIS protocol
- Version:
- $Id: DISConnectionHandler.java,v 1.3 2009-09-16 00:30:37 tdnorbra Exp $
- Author:
- Terry Norbraten
-
Constructor Summary
ConstructorsConstructorDescriptionDISConnectionHandler
(Map<DISId, org.web3d.vrml.renderer.common.input.dis.NodeMapEntry> nodeMap, org.web3d.vrml.renderer.common.input.dis.LinkedList liveList, List<VRMLDISNodeType> managerList, Set<DISId> notifiedSet, String group, int port) -
Method Summary
Modifier and TypeMethodDescriptionedu.nps.moves.dis7.utilities.DisThreadedNetworkInterface
Get a writer for this connection.void
incomingPdu
(edu.nps.moves.dis7.pdus.Pdu pdu)
-
Constructor Details
-
DISConnectionHandler
public DISConnectionHandler(Map<DISId, org.web3d.vrml.renderer.common.input.dis.NodeMapEntry> nodeMap, org.web3d.vrml.renderer.common.input.dis.LinkedList liveList, List<VRMLDISNodeType> managerList, Set<DISId> notifiedSet, String group, int port) - Parameters:
nodeMap
-liveList
-managerList
-notifiedSet
-group
- multicast groupport
- multicast port
-
-
Method Details
-
getWriter
public edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface getWriter()Get a writer for this connection.- Returns:
- The writer.
-
incomingPdu
public void incomingPdu(edu.nps.moves.dis7.pdus.Pdu pdu) - Specified by:
incomingPdu
in interfaceedu.nps.moves.dis7.utilities.DisThreadedNetworkInterface.PduListener
-