Class LinkIdTransceiver
java.lang.Object
org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
org.opentrafficsim.sim0mq.publisher.AbstractIdTransceiver
org.opentrafficsim.sim0mq.publisher.LinkIdTransceiver
- All Implemented Interfaces:
org.djutils.base.Identifiable
,TransceiverInterface
Transceiver for Link ids.
Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
ConstructorDescriptionLinkIdTransceiver
(org.opentrafficsim.core.network.Network network) Construct a new LinkIdTransceiver. -
Method Summary
Methods inherited from class org.opentrafficsim.sim0mq.publisher.AbstractIdTransceiver
get, getNetwork
Methods inherited from class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
getAddressFields, getId, getResultFields, verifyMetaData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
getIdSource, hasIdSource
-
Constructor Details
-
LinkIdTransceiver
public LinkIdTransceiver(org.opentrafficsim.core.network.Network network) Construct a new LinkIdTransceiver.- Parameters:
network
- Network; the OTS network
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractTransceiver
-
getSet
org.djutils.immutablecollections.ImmutableSet<org.opentrafficsim.core.network.Link> getSet()Retrieve the set of names of objects that can be individually subscribed to.- Specified by:
getSet
in classAbstractIdTransceiver
- Returns:
- Set<?>; the set of names of objects whose that can be subscribed to. Each object in this set should
implement
Identifiable
-