Class PublisherDemo.ReadMessageThread

java.lang.Object
java.lang.Thread
org.opentrafficsim.sim0mq.swing.PublisherDemo.ReadMessageThread
All Implemented Interfaces:
Runnable
Enclosing class:
PublisherDemo

static class PublisherDemo.ReadMessageThread extends Thread
Repeatedly try to read all available messages.
  • Constructor Details

    • ReadMessageThread

      ReadMessageThread(org.zeromq.ZContext zContext, List<byte[]> storage)
      Repeatedly read all available messages.
      Parameters:
      zContext - ZContext; the ZContext needed to create the read socket
      storage - List<String>; storage for the received messages
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread