public interface _ScriptProcessOperations extends _ProcessOperations
Process interface which is returned by
IScript when an ScriptJob is launched.
It is critical that instances of (@code ScriptProcess} are closed
on completion. See the close(boolean, Ice.Current) method for more information.| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean detach,
Ice.Current __current)
Closes this process and frees server resources attached to it.
|
ScriptJob |
getJob(Ice.Current __current)
Returns the job which started this process.
|
java.util.Map<java.lang.String,RType> |
getResults(int waitSecs,
Ice.Current __current)
Returns the results immediately if present.
|
java.lang.String |
setMessage(java.lang.String message,
Ice.Current __current)
Sets the message on the
ScriptJob object. |
_wait, cancel, kill, poll, registerCallback, shutdown, unregisterCallbackScriptJob getJob(Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorjava.util.Map<java.lang.String,RType> getResults(int waitSecs, Ice.Current __current) throws ServerError
ApiUsageException. If poll has returned a non-null
value, then this method will always return a non-null value.__current - The Current object for the invocation.ServerErrorjava.lang.String setMessage(java.lang.String message,
Ice.Current __current)
throws ServerError
ScriptJob object.
This value MAY be overwritten by the server if the script
fails.__current - The Current object for the invocation.ServerErrorvoid close(boolean detach,
Ice.Current __current)
throws ServerError
IScript service.
If the detach argument is False, then the background process
will be shutdown immediately, and all intermediate results
(stdout, stderr, ...) will be uploaded.__current - The Current object for the invocation.ServerError