Class NetworkTransceiver

    • Constructor Detail

      • NetworkTransceiver

        public NetworkTransceiver​(org.opentrafficsim.imb.connector.Connector connector,
                                  DEVSSimulatorInterface.TimeDoubleUnit simulator,
                                  OTSNetwork network)
                           throws org.opentrafficsim.imb.IMBException
        Construct a new NetworkTransceiver.
        Parameters:
        connector - Connector; the IMB connector through which this transceiver communicates
        simulator - DEVSSimulatorInterface.TimeDoubleUnit; the simulator to retrieve the timestamp
        network - OTSNetwork; the OTS network
        Throws:
        org.opentrafficsim.imb.IMBException - when the message cannot be sent
        java.lang.NullPointerException - in case one of the arguments is null.