Class TestConnection

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Runnable produce()
      Produces a task to be executed.
      void submit​(java.util.concurrent.CompletableFuture<java.lang.String> futureResult)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestConnection

        public TestConnection​(TestServer server,
                              boolean sleeping)
    • Method Detail

      • submit

        public void submit​(java.util.concurrent.CompletableFuture<java.lang.String> futureResult)