Package omero.grid
Class _ProcessTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.grid._ProcessDisp
-
- omero.grid._ProcessTie
-
- All Implemented Interfaces:
Ice.Object,Ice.TieBase,java.io.Serializable,java.lang.Cloneable,_ProcessOperations,_ProcessOperationsNC,Process
public class _ProcessTie extends _ProcessDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID-
Fields inherited from class omero.grid._ProcessDisp
__ids
-
Fields inherited from interface omero.grid.Process
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _ProcessTie()_ProcessTie(_ProcessOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int_wait(Ice.Current __current)Blocks until poll() would return a non-null return code.booleancancel(Ice.Current __current)Signal to the Process that it should terminate.booleanequals(java.lang.Object rhs)inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)booleankill(Ice.Current __current)Terminate the Process immediately.RIntpoll(Ice.Current __current)Returns the return code of the process, or null if unfinished.voidregisterCallback(ProcessCallbackPrx cb, Ice.Current __current)Add a callback for end-of-life eventsvoidshutdown(Ice.Current __current)First attempts cancel() several times and finally resorts to kill to force the process to shutdown cleanly.voidunregisterCallback(ProcessCallbackPrx cb, Ice.Current __current)Remove a callback for end-of-life events-
Methods inherited from class omero.grid._ProcessDisp
___cancel, ___kill, ___poll, ___registerCallback, ___shutdown, ___unregisterCallback, ___wait, __dispatch, __readImpl, __writeImpl, _wait, cancel, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, kill, poll, registerCallback, shutdown, unregisterCallback
-
Methods inherited from class Ice.ObjectImpl
___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_preMarshal
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_ProcessTie
public _ProcessTie()
-
_ProcessTie
public _ProcessTie(_ProcessOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegatein interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegatein interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
cancel
public boolean cancel(Ice.Current __current) throws ServerErrorDescription copied from interface:_ProcessOperationsSignal to the Process that it should terminate. This may be done "softly" for a given time period.- Specified by:
cancelin interface_ProcessOperations- Parameters:
__current- The Current object for the invocation.- Throws:
ServerError
-
kill
public boolean kill(Ice.Current __current)
Description copied from interface:_ProcessOperationsTerminate the Process immediately.- Specified by:
killin interface_ProcessOperations- Parameters:
__current- The Current object for the invocation.
-
poll
public RInt poll(Ice.Current __current) throws ServerError
Description copied from interface:_ProcessOperationsReturns the return code of the process, or null if unfinished.- Specified by:
pollin interface_ProcessOperations- Parameters:
__current- The Current object for the invocation.- Throws:
ServerError
-
registerCallback
public void registerCallback(ProcessCallbackPrx cb, Ice.Current __current) throws ServerError
Description copied from interface:_ProcessOperationsAdd a callback for end-of-life events- Specified by:
registerCallbackin interface_ProcessOperations__current- The Current object for the invocation.- Throws:
ServerError
-
shutdown
public void shutdown(Ice.Current __current)
Description copied from interface:_ProcessOperationsFirst attempts cancel() several times and finally resorts to kill to force the process to shutdown cleanly. This method doesn't return any value or throw an exception so that it can be called oneway.- Specified by:
shutdownin interface_ProcessOperations- Parameters:
__current- The Current object for the invocation.
-
unregisterCallback
public void unregisterCallback(ProcessCallbackPrx cb, Ice.Current __current) throws ServerError
Description copied from interface:_ProcessOperationsRemove a callback for end-of-life events- Specified by:
unregisterCallbackin interface_ProcessOperations__current- The Current object for the invocation.- Throws:
ServerError
-
_wait
public int _wait(Ice.Current __current) throws ServerErrorDescription copied from interface:_ProcessOperationsBlocks until poll() would return a non-null return code.- Specified by:
_waitin interface_ProcessOperations- Parameters:
__current- The Current object for the invocation.- Throws:
ServerError
-
-