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-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
listenersFIRST_POSITION, LAST_POSITION| Constructor and Description |
|---|
NodeTransceiver(org.opentrafficsim.imb.connector.Connector connector,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
OTSNetwork network)
Construct a new NodeTransceiver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notify(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, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, addListener, addListener, addListener, removeListenerpublic NodeTransceiver(org.opentrafficsim.imb.connector.Connector connector,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
OTSNetwork network)
throws org.opentrafficsim.imb.IMBException
connector - Connector; the IMB connector through which this transceiver communicatessimulator - DEVSSimulatorInterface.TimeDoubleUnit; 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(EventInterface event) throws RemoteException
notify in interface EventListenerInterfacenotify in class AbstractTransceiverRemoteExceptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.