- Enclosing class:
- Fiber
public static interface Fiber.CompletionCallback
Callback to be invoked when a
Fiber
finishes execution.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCompletion
(Packet response) Indicates that the fiber has finished its execution.void
onCompletion
(Throwable error) Indicates that the fiber has finished abnormally, by throwing a givenThrowable
.
-
Method Details
-
onCompletion
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
Indicates that the fiber has finished abnormally, by throwing a givenThrowable
.
-