public abstract class Callback_IScript_runScript extends IceInternal.TwowayCallback implements Ice.TwowayCallbackArg1UE<ScriptProcessPrx>
ResourceError is thrown, then no
Processor is available. Use scheduleJob
to create a ScriptJob in the
Waiting state. A Processor may become
available.
try:
proc = scriptService.runScript(1, {}, None)
except ResourceError:
job = scriptService.scheduleScript(1, {}, None)
The ScriptProcess proxy MUST be closed before
exiting. If you would like the script execution to continue
in the background, pass True 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.
| Constructor and Description |
|---|
Callback_IScript_runScript() |
| Modifier and Type | Method and Description |
|---|---|
void |
__completed(Ice.AsyncResult __result) |
__hasSentCallback, __sent, exception, sentcheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionresponseexception, exceptionpublic final void __completed(Ice.AsyncResult __result)
__completed in class IceInternal.CallbackBase