Interface Fiber.CompletionCallback

  • Enclosing class:
    Fiber

    public static interface Fiber.CompletionCallback
    Callback to be invoked when a Fiber finishes execution.
    • Method Detail

      • onCompletion

        void onCompletion​(@NotNull
                          Packet response)
        Indicates that the fiber has finished its execution.

        Since the JAX-WS RI runs asynchronously, this method maybe invoked by a different thread than any of the threads that started it or run a part of tubeline.
      • onCompletion

        void onCompletion​(@NotNull
                          Throwable error)
        Indicates that the fiber has finished abnormally, by throwing a given Throwable.