public class _ScriptProcessTie extends _ScriptProcessDisp implements Ice.TieBase
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
__idsice_staticId| Constructor and Description |
|---|
_ScriptProcessTie(_ScriptProcessOperations delegate) |
_ScriptProcessTie() |
| Modifier and Type | Method and Description |
|---|---|
int |
_wait(Ice.Current __current)
Blocks until poll() would return a non-null return code.
|
boolean |
cancel(Ice.Current __current)
Signal to the Process that it should terminate.
|
void |
close(boolean detach,
Ice.Current __current)
Closes this process and frees server resources attached to it.
|
boolean |
equals(java.lang.Object rhs) |
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.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
boolean |
kill(Ice.Current __current)
Terminate the Process immediately.
|
RInt |
poll(Ice.Current __current)
Returns the return code of the process, or null
if unfinished.
|
void |
registerCallback(ProcessCallbackPrx cb,
Ice.Current __current)
Add a callback for end-of-life events
|
java.lang.String |
setMessage(java.lang.String message,
Ice.Current __current)
Sets the message on the
ScriptJob object. |
void |
shutdown(Ice.Current __current)
First attempts cancel() several times and finally
resorts to kill to force the process to shutdown
cleanly.
|
void |
unregisterCallback(ProcessCallbackPrx cb,
Ice.Current __current)
Remove a callback for end-of-life events
|
___close, ___getJob, ___getResults, ___setMessage, __dispatch, __readImpl, __writeImpl, _wait, cancel, close, getJob, getResults, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, kill, poll, registerCallback, setMessage, shutdown, unregisterCallback___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalpublic static final long serialVersionUID
public _ScriptProcessTie()
public _ScriptProcessTie(_ScriptProcessOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate in interface Ice.TieBasepublic void ice_delegate(java.lang.Object delegate)
ice_delegate in interface Ice.TieBasepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean cancel(Ice.Current __current)
throws ServerError
_ProcessOperationscancel in interface _ProcessOperations__current - The Current object for the invocation.ServerErrorpublic boolean kill(Ice.Current __current)
_ProcessOperationskill in interface _ProcessOperations__current - The Current object for the invocation.public RInt poll(Ice.Current __current) throws ServerError
_ProcessOperationspoll in interface _ProcessOperations__current - The Current object for the invocation.ServerErrorpublic void registerCallback(ProcessCallbackPrx cb, Ice.Current __current) throws ServerError
_ProcessOperationsregisterCallback in interface _ProcessOperations__current - The Current object for the invocation.ServerErrorpublic void shutdown(Ice.Current __current)
_ProcessOperationsshutdown in interface _ProcessOperations__current - The Current object for the invocation.public void unregisterCallback(ProcessCallbackPrx cb, Ice.Current __current) throws ServerError
_ProcessOperationsunregisterCallback in interface _ProcessOperations__current - The Current object for the invocation.ServerErrorpublic int _wait(Ice.Current __current)
throws ServerError
_ProcessOperations_wait in interface _ProcessOperations__current - The Current object for the invocation.ServerErrorpublic void close(boolean detach,
Ice.Current __current)
throws ServerError
_ScriptProcessOperationsIScript service.
If the detach argument is False, then the background process
will be shutdown immediately, and all intermediate results
(stdout, stderr, ...) will be uploaded.close in interface _ScriptProcessOperations__current - The Current object for the invocation.ServerErrorpublic ScriptJob getJob(Ice.Current __current) throws ServerError
_ScriptProcessOperationsgetJob in interface _ScriptProcessOperations__current - The Current object for the invocation.ServerErrorpublic java.util.Map<java.lang.String,RType> getResults(int waitSecs, Ice.Current __current) throws ServerError
_ScriptProcessOperationsApiUsageException. If poll has returned a non-null
value, then this method will always return a non-null value.getResults in interface _ScriptProcessOperations__current - The Current object for the invocation.ServerErrorpublic java.lang.String setMessage(java.lang.String message,
Ice.Current __current)
throws ServerError
_ScriptProcessOperationsScriptJob object.
This value MAY be overwritten by the server if the script
fails.setMessage in interface _ScriptProcessOperations__current - The Current object for the invocation.ServerError