public class NodeTransceiver extends AbstractTransceiver
| Variable | Type | Comments |
|---|---|---|
| timestamp | double | time of the event, in simulation time seconds |
| networkId | String | Id of the Network where the Node resides |
| nodeId | String | id of the Node; unique within the Network |
| coordinate.x | double | x-coordinate of the Node |
| coordinate.y | double | y-coordinate of the Node |
| coordinate.z | double | z-coordinate of the Node |
| Variable | Type | Comments |
|---|---|---|
| timestamp | double | time of the event, in simulation time seconds |
| networkId | String | Id of the Network where the Node resides |
| nodeId | String | id of the Node that is removed from the Network |
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 |
|---|
NodeTransceiver(org.opentrafficsim.imb.connector.Connector connector,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network)
Construct a new NodeTransceiver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notify(nl.tudelft.simulation.event.EventInterface event) |
addIMBtoOTSChannel, addIMBtoOTSChannel, addOTSToIMBChannel, getConnector, getId, getSimulator, handleMessageFromIMB, 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 NodeTransceiver(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 schedule the incoming notifications onnetwork - OTSNetwork; the OTS network on which Nodes are registeredorg.opentrafficsim.imb.IMBException - when the registration of one of the channels failsNullPointerException - in case one of the arguments is null.public void notify(nl.tudelft.simulation.event.EventInterface event)
throws RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfacenotify in class AbstractTransceiverRemoteExceptionCopyright © 2014–2016 Delft University of Technology. All rights reserved.