Class Rep.RepThread

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Rep

    protected class Rep.RepThread
    extends Thread
    The worker thread for the REP requests.
    • Constructor Detail

      • RepThread

        public RepThread​(ZContext context,
                         int port)
        Parameters:
        context - the (shared) context
        port - the port to use
    • Method Detail

      • run

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