Package org.opentrafficsim.sim0mq.publisher
Make the DSOL pub/sub events of OTS available through Sim0MQ.
Copyright (c) 2013-2022 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
-
Interface Summary Interface Description IncomingDataHandler Interface for handlers of incoming data and commands that are not directly processed by the Publisher.LookupEventProducerInterface Object that can find the EventProducerInterface object for an address.ReturnWrapper The ReturnWrapper interface enforces implementation of the encodeReplyAndTransmit methodTransceiverInterface Transceivers with machine interpretable description of address and result types. -
Class Summary Class Description AbstractEventTransceiver Transceiver for DJUNITS events.AbstractIdTransceiver Common code for id transceivers that use an empty address.AbstractTransceiver Common code for most implementations of TranceiverInterface.CrossSectionElementTransceiver Transceiver for CrossSectionElement data.EventMultiplexer Create a subscription to SimulatorInterface.START_EVENT and SimulatorInterface.STOP_EVENT and emit a SIMULATOR_STATE_CHANGED event for each.EventSerializer<E extends Event> Convert one Event into an equivalent Sim0MQ Message, or back.GTUIdTransceiver Transceiver for GTU ids.GTUTransceiver Transceiver for GTU data.LaneGTUIdTransceiver Transceiver for the ids of the GTUs on a link.LinkGTUIdTransceiver Transceiver for the ids of the GTUs on a link.LinkIdTransceiver Transceiver for Link ids.LinkTransceiver Transceiver for Link data.NodeIdTransceiver Transceiver for Node ids.NodeTransceiver Transceiver for Node data.Publisher Publish all available transceivers for an OTS network to a Sim0MQ master and handle its requests.ReturnWrapperImpl Container for all data needed to reply (once, or multiple times) to a Sim0MQ request.SimulatorStateTransceiver Transceiver for simulator state change events.Subscription Handles one subscription.SubscriptionHandler Data collection that can be listed and has subscription to change events. -
Enum Summary Enum Description SubscriptionHandler.Command The commands that a SubscriptionHandler understands.