Package org.jppf.server.protocol
Interface ServerTaskBundleClient.CompletionListener
- All Known Implementing Classes:
BundleCompletionListener,CompletionListener
- Enclosing class:
- ServerTaskBundleClient
public static interface ServerTaskBundleClient.CompletionListener
Listener providing a callback to invoke when a task's execution has completed.
- Author:
- Martin JANDA
-
Method Summary
Modifier and TypeMethodDescriptionvoidbundleEnded(ServerTaskBundleClient bundle) Callback method invoked when execution of the bundle is done.voidtaskCompleted(ServerTaskBundleClient bundle, List<ServerTask> results) Callback method invoked when the execution of the bundle has completed.
-
Method Details
-
taskCompleted
Callback method invoked when the execution of the bundle has completed.- Parameters:
bundle- the bundle that notifies completed result.results- the list of results of the bundle execution.
-
bundleEnded
Callback method invoked when execution of the bundle is done.- Parameters:
bundle- the bundle that notifies that finished.
-