Package omero.grid
Interface _ProcessCallbackOperations
-
- All Known Subinterfaces:
ProcessCallback
- All Known Implementing Classes:
_ProcessCallbackDisp,_ProcessCallbackTie,ProcessCallbackI
public interface _ProcessCallbackOperationsCallback which can be attached to a Process with notification of any of the possible ends-of-life that a Process might experience
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessCancelled(boolean success, Ice.Current __current)cancel() was called on this Process.voidprocessFinished(int returncode, Ice.Current __current)Process terminated normally.voidprocessKilled(boolean success, Ice.Current __current)kill() was called on this Process.
-
-
-
Method Detail
-
processFinished
void processFinished(int returncode, Ice.Current __current)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.- Parameters:
__current- The Current object for the invocation.
-
processCancelled
void processCancelled(boolean success, Ice.Current __current)cancel() was called on this Process. If the Process failed to terminate, argument is false, in which calling kill() is the last resort.- Parameters:
__current- The Current object for the invocation.
-
processKilled
void processKilled(boolean success, Ice.Current __current)kill() was called on this Process. If this does not succeed, there is nothing else that Blitz can do to stop its execution.- Parameters:
__current- The Current object for the invocation.
-
-