OmeroBlitz API
Home Previous Up Next Index

omero::grid::ProcessCallback

Overview

[ "ami" ] interface ProcessCallback

Callback which can be attached to a Process with notification of any of the possible ends-of-life that a Process might experience

Operation Index

processFinished
Process terminated normally.
processCancelled
cancel() was called on this Process.
processKilled
kill() was called on this Process.

Operations

void processFinished(int returncode)

Process terminated normally. Return code provided. In the case that a non-Blitz process sent a signal (KILL, TERM, ... ), that will represented in the return code.

void processCancelled(bool success)

cancel() was called on this Process. If the Process failed to terminate, argument is false, in which calling kill() is the last resort.

void processKilled(bool success)

kill() was called on this Process. If this does not succeed, there is nothing else that Blitz can do to stop its execution.


Home Previous Up Next Index