A C D E F G H L N O P R S T U V 
All Classes All Packages

A

AbstractEventTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for DJUNITS events.
AbstractEventTransceiver(String, MetaData, TimedEventType) - Constructor for class org.opentrafficsim.sim0mq.publisher.AbstractEventTransceiver
Construct a new AbstractEventTransceiver.
AbstractIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Common code for id transceivers that use an empty address.
AbstractIdTransceiver(OTSNetwork, String) - Constructor for class org.opentrafficsim.sim0mq.publisher.AbstractIdTransceiver
Construct a GTUIdTransceiver.
AbstractTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Common code for most implementations of TranceiverInterface.
AbstractTransceiver(String, MetaData, MetaData) - Constructor for class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
Construct a new AbstractTransceiver.
ack(String) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Signal successful execution of a request.

C

constructResultFields(TimedEventType) - Static method in class org.opentrafficsim.sim0mq.publisher.AbstractEventTransceiver
Construct a Sim0MQ MetaData object that corresponds to the MetaData of DJUTILS EventType.
CrossSectionElementTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for CrossSectionElement data.
CrossSectionElementTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.CrossSectionElementTransceiver
Construct a new CrossSectionElementTransceiver for an OTS network.

D

dataClassName() - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
deSerialize(byte[], Pointer, EndianUtil) - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer

E

encodeReplyAndTransmit(Boolean, Object[]) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Encode a String reply and transmit it while patching the message type id field by adding a vertical bar and a suffix.
encodeReplyAndTransmit(Boolean, Object[]) - Method in class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
Encode a String reply and transmit it while patching the message type id field by adding a vertical bar and a suffix.
encodeReplyAndTransmit(Boolean, String) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Encode a String reply and transmit it.
encodeReplyAndTransmit(Object[]) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Encode a String reply and transmit it.
encodeReplyAndTransmit(String) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Encode a String reply and transmit it.
equals(Object) - Method in class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
EventSerializer<E extends Event> - Class in org.opentrafficsim.sim0mq.publisher
Convert one Event into an equivalent Sim0MQ Message, or back.
executeCommand(String, String, Object[], ReturnWrapperImpl) - Method in class org.opentrafficsim.sim0mq.publisher.Publisher
Execute one command.
executeCommand(String, SubscriptionHandler.Command, Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.Publisher
Execute one command.
executeCommand(SubscriptionHandler.Command, Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Execute one command.

F

fieldType() - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer

G

get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.AbstractIdTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.CrossSectionElementTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.GTUTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.LaneGTUIdTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.LinkGTUIdTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.LinkTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.NodeTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.Publisher
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.SimulatorStateTransceiver
Retrieve the data.
get(Object[], ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Retrieve a data collection.
get(Object[], ReturnWrapper) - Method in interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
Retrieve the data.
GET_ADDRESS_META_DATA - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Get the address meta data.
GET_COMMANDS - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Get the set of implemented commands (must - itself - always be implemented).
GET_CURRENT - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Get current set (if a collection), c.q.
GET_LIST - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Get the output of the IdSource.
GET_RESULT_META_DATA - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Get the result meta data.
getAddressFields() - Method in class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
Specification of arguments needed in a request.
getAddressFields() - Method in interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
Specification of arguments needed in a request.
getId() - Method in class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
getId() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Retrieve the id of this SubscriptionHandler.
getIdSource(int, ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.GTUTransceiver
Retrieve the TransceiverInterface that can be used to get detailed information about a single object.
getIdSource(int, ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.LinkTransceiver
Retrieve the TransceiverInterface that can be used to get detailed information about a single object.
getIdSource(int, ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.NodeTransceiver
Retrieve the TransceiverInterface that can be used to get detailed information about a single object.
getIdSource(int, ReturnWrapper) - Method in class org.opentrafficsim.sim0mq.publisher.Publisher
Retrieve the TransceiverInterface that can be used to get detailed information about a single object.
getIdSource(int, ReturnWrapper) - Method in interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
Retrieve the TransceiverInterface that can be used to get detailed information about a single object.
getListTransceiver() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Retrieve the list transceiver (only for testing).
getLookupEventProducerInterface() - Method in class org.opentrafficsim.sim0mq.publisher.SimulatorStateTransceiver
Retrieve the event LookupEventProducerInterface.
getNumberOfDimensions() - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
getResultFields() - Method in class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
Report the specification of a result of the transceiver.
getResultFields() - Method in interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
Report the specification of a result of the transceiver.
GTUIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for GTU ids.
GTUIdTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.GTUIdTransceiver
Construct a GTUIdTransceiver.
GTUTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for GTU data.
GTUTransceiver(OTSNetwork, GTUIdTransceiver) - Constructor for class org.opentrafficsim.sim0mq.publisher.GTUTransceiver
Construct a GTUTransceiver.

H

hashCode() - Method in class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
hasIdSource() - Method in class org.opentrafficsim.sim0mq.publisher.GTUTransceiver
Report if this transceiver has an id source.
hasIdSource() - Method in class org.opentrafficsim.sim0mq.publisher.LinkTransceiver
Report if this transceiver has an id source.
hasIdSource() - Method in class org.opentrafficsim.sim0mq.publisher.NodeTransceiver
Report if this transceiver has an id source.
hasIdSource() - Method in class org.opentrafficsim.sim0mq.publisher.Publisher
Report if this transceiver has an id source.
hasIdSource() - Method in interface org.opentrafficsim.sim0mq.publisher.TransceiverInterface
Report if this transceiver has an id source.

L

LaneGTUIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for the ids of the GTUs on a link.
LaneGTUIdTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.LaneGTUIdTransceiver
Construct a GTUIdTransceiver.
LinkGTUIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for the ids of the GTUs on a link.
LinkGTUIdTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.LinkGTUIdTransceiver
Construct a GTUIdTransceiver.
LinkIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for Link ids.
LinkIdTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.LinkIdTransceiver
Construct a new LinkIdTransceiver.
LinkTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for Link data.
LinkTransceiver(OTSNetwork, LinkIdTransceiver) - Constructor for class org.opentrafficsim.sim0mq.publisher.LinkTransceiver
Construct a new LinkTransceiver.
listRequestMetaData() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Report what payload is required to retrieve a list of all elements, or data and what format a result would have.
listResultMetaData() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Report what the payload format of the result of the list transceiver.
lookupCommand(String) - Static method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Convert a String representing a Command into that Command.

N

nack(String) - Method in interface org.opentrafficsim.sim0mq.publisher.ReturnWrapper
Signal failure of execution of a request.
NodeIdTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for Node ids.
NodeIdTransceiver(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.NodeIdTransceiver
Construct a new LinkIdTransceiver.
NodeTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for Node data.
NodeTransceiver(OTSNetwork, NodeIdTransceiver) - Constructor for class org.opentrafficsim.sim0mq.publisher.NodeTransceiver
Construct a new NodeTransceiver.

O

org.opentrafficsim.sim0mq.publisher - package org.opentrafficsim.sim0mq.publisher
Make the DSOL pub/sub events of OTS available through Sim0MQ.

P

Publisher - Class in org.opentrafficsim.sim0mq.publisher
Publish all available transceivers for an OTS network to a Sim0MQ master and handle its requests.
Publisher(OTSNetwork) - Constructor for class org.opentrafficsim.sim0mq.publisher.Publisher
Construct a Publisher for an OTS network.

R

ReturnWrapper - Interface in org.opentrafficsim.sim0mq.publisher
The ReturnWrapper interface enforces implementation of the encodeReplyAndTransmit method
ReturnWrapperImpl - Class in org.opentrafficsim.sim0mq.publisher
Container for all data needed to reply (once, or multiple times) to a Sim0MQ request.
ReturnWrapperImpl(ZContext, Object[], Map<Long, ZMQ.Socket>) - Constructor for class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
Construct a new ReturnWrapper.

S

sendToMaster(byte[]) - Method in class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
Central portal to send a message to the master.
serialize(Event, byte[], Pointer, EndianUtil) - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
serializeWithPrefix(Event, byte[], Pointer, EndianUtil) - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
SIMULATOR_STATE_CHANGED - Static variable in class org.opentrafficsim.sim0mq.publisher.SimulatorStateTransceiver
The event that will be emitted for either the START_EVENT or the STOP_EVENT.
SimulatorStateTransceiver - Class in org.opentrafficsim.sim0mq.publisher
Transceiver for simulator state change events.
SimulatorStateTransceiver(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.sim0mq.publisher.SimulatorStateTransceiver
Construct a new SimulatorStateTransceiver.
size(Event) - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
sizeWithPrefix(Event) - Method in class org.opentrafficsim.sim0mq.publisher.EventSerializer
SUBSCRIBE_TO_ADD - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Subscribe to add events.
SUBSCRIBE_TO_CHANGE - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Subscribe to change events.
SUBSCRIBE_TO_REMOVE - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Subscribe to remove events.
SubscriptionHandler - Class in org.opentrafficsim.sim0mq.publisher
Data collection that can be listed and has subscription to change events.
SubscriptionHandler.Command - Enum in org.opentrafficsim.sim0mq.publisher
The commands that a SubscriptionHandler understands.
subscriptionOptions() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
Return the set of supported commands.

T

toString() - Method in class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.CrossSectionElementTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.GTUIdTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.GTUTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.LaneGTUIdTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.LinkGTUIdTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.LinkIdTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.LinkTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.NodeIdTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.NodeTransceiver
toString() - Method in class org.opentrafficsim.sim0mq.publisher.ReturnWrapperImpl
toString() - Method in class org.opentrafficsim.sim0mq.publisher.SubscriptionHandler
TransceiverInterface - Interface in org.opentrafficsim.sim0mq.publisher
Transceivers with machine interpretable description of address and result types.

U

UNSUBSCRIBE_FROM_ADD - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Unsubscribe to add events.
UNSUBSCRIBE_FROM_CHANGE - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Unsubscribe to change events.
UNSUBSCRIBE_FROM_REMOVE - org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Unsubscribe to remove events.

V

valueOf(String) - Static method in enum org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opentrafficsim.sim0mq.publisher.SubscriptionHandler.Command
Returns an array containing the constants of this enum type, in the order they are declared.
verifyMetaData(MetaData, Object[]) - Static method in class org.opentrafficsim.sim0mq.publisher.AbstractTransceiver
Verify the composition of an Object[].
A C D E F G H L N O P R S T U V 
All Classes All Packages