Index

O P R S T V W 
All Classes and Interfaces|All Packages

O

org.opentrafficsim.sim0mq.swing - package org.opentrafficsim.sim0mq.swing
 

P

PublisherThread() - Constructor for class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest.PublisherThread
Construct a new PublisherThread.
PublisherThread(ZContext) - Constructor for class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest.PublisherThread
Construct a new PublisherThread.

R

readMessages(ZMQ.Socket) - Static method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Read as many messages from a ZMQ socket as are available.
ReadMessageThread(ZContext, List<byte[]>) - Constructor for class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest.ReadMessageThread
Repeatedly read all available messages.
run() - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest.PublisherThread
 
run() - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest.ReadMessageThread
 

S

sendCommand(ZMQ.Socket, byte[]) - Static method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Wrapper for ZMQ.Socket.send that may output some debugging information.
Sim0MQPublisherTest - Class in org.opentrafficsim.sim0mq.swing
Unit tests.
Sim0MQPublisherTest() - Constructor for class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
 
Sim0MQPublisherTest.PublisherThread - Class in org.opentrafficsim.sim0mq.swing
Thread that runs a PublisherExperiment.
Sim0MQPublisherTest.ReadMessageThread - Class in org.opentrafficsim.sim0mq.swing
Repeatedly try to read all available messages.

T

testSim0MQPublisher() - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Test code.

V

verifyAckNack(byte[], String, int, Boolean, String) - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Verify an ACK or a NACK message.

W

waitAndEatMessagesUntilConversationId(List<byte[]>, double, int) - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Wait for incoming messages up to one that has a specified conversation id, or until 1000 times time out.
waitAndVerifyAckNack(List<byte[]>, double, String, int, Boolean, String) - Method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Wait for an incoming message and verify that it is an ACK or a NACK.
waitForReceivedMessages(List<byte[]>, double) - Static method in class org.opentrafficsim.sim0mq.swing.Sim0MQPublisherTest
Sleep up to 1 second waiting for at least one message to be received.
O P R S T V W 
All Classes and Interfaces|All Packages