Class Req.ReqThread

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Req

    protected class Req.ReqThread
    extends Thread
    The worker thread for the REQ requests.
    • Constructor Detail

      • ReqThread

        public ReqThread​(ZContext context,
                         int port,
                         long numcalls)
        Parameters:
        context - the (shared) context
        port - the port to use
        numcalls - the number of calls to use
    • Method Detail

      • run

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