com.sun.xml.ws.api.pipe
Interface Fiber.CompletionCallback

Enclosing class:
Fiber

public static interface Fiber.CompletionCallback

Callback to be invoked when a Fiber finishs execution.


Method Summary
 void 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 given Throwable.
 

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.