Package omero.api
Interface AMD_IScript_runScript
-
- All Superinterfaces:
Ice.AMDCallback
public interface AMD_IScript_runScript extends Ice.AMDCallback
IfResourceError
is thrown, then noProcessor
is available. UsescheduleJob
to create aScriptJob
in the Waiting state. AProcessor
may become available.try: proc = scriptService.runScript(1, {}, None) except ResourceError: job = scriptService.scheduleScript(1, {}, None)
ScriptProcess
proxy MUST be closed before exiting. If you would like the script execution to continue in the background, passTrue
as the argument.try: proc.poll() # See if process is finished finally: proc.close(True) # Detach and execution can continue # proc.close(False) # OR script is immediately stopped.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
ice_response(ScriptProcessPrx __ret)
ice_response indicates that the operation completed successfully.
-
-
-
Method Detail
-
ice_response
void ice_response(ScriptProcessPrx __ret)
ice_response indicates that the operation completed successfully.
-
-