public class NetworkTransceiver extends AbstractTransceiver
| Variable | Type | Comments |
|---|---|---|
| timestamp | double | time of the event, in simulation time seconds |
| networkId | String | Name of the network as used in e.g., Link messages |
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
NetworkTransceiver(org.opentrafficsim.imb.connector.Connector connector,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network)
Construct a new NetworkTransceiver.
|
addIMBtoOTSChannel, addIMBtoOTSChannel, addOTSToIMBChannel, getConnector, getId, getSimulator, handleMessageFromIMB, notify, removeOTSToIMBChannel, toStringaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerpublic NetworkTransceiver(org.opentrafficsim.imb.connector.Connector connector,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network)
throws org.opentrafficsim.imb.IMBException
connector - Connector; the IMB connector through which this transceiver communicatessimulator - OTSDEVSSimulatorInterface; the simulator to retrieve the timestampnetwork - OTSNetwork; the OTS networkorg.opentrafficsim.imb.IMBException - when the message cannot be sentNullPointerException - in case one of the arguments is null.Copyright © 2014–2016 Delft University of Technology. All rights reserved.