Package com.sun.xml.ws.api.pipe
Interface Fiber.CompletionCallback
- Enclosing class:
- Fiber
public static interface Fiber.CompletionCallback
Callback to be invoked when a
Fiber finishes execution.-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompletion(Packet response) Indicates that the fiber has finished its execution.voidonCompletion(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.
-