omero.grid
Class ProcessCallbackI

java.lang.Object
  extended by Ice.ObjectImpl
      extended by omero.grid._ProcessCallbackDisp
          extended by omero.grid.ProcessCallbackI
All Implemented Interfaces:
Ice.Object, Serializable, Cloneable, omero.grid._ProcessCallbackOperations, omero.grid._ProcessCallbackOperationsNC, omero.grid.ProcessCallback

public class ProcessCallbackI
extends omero.grid._ProcessCallbackDisp

Since:
Beta4.2
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
Serialized Form

Nested Class Summary
static class ProcessCallbackI.Action
           
 
Field Summary
protected  omero.grid.ProcessPrx process
          Proxy passed to this instance on creation.
 
Fields inherited from class omero.grid._ProcessCallbackDisp
__ids
 
Constructor Summary
ProcessCallbackI(client client, omero.grid.ProcessPrx process)
           
ProcessCallbackI(client client, omero.grid.ProcessPrx process, boolean poll)
           
ProcessCallbackI(Ice.ObjectAdapter adapter, omero.grid.ProcessPrx process)
           
ProcessCallbackI(Ice.ObjectAdapter adapter, omero.grid.ProcessPrx process, boolean poll)
           
 
Method Summary
 ProcessCallbackI.Action block(long ms)
          Should only be used if the default logic of the process methods is kept in place.
 void close()
           
 void processCancelled(boolean success, Ice.Current __current)
           
 void processFinished(int returncode, Ice.Current __current)
           
 void processKilled(boolean success, Ice.Current __current)
           
 
Methods inherited from class omero.grid._ProcessCallbackDisp
___processCancelled, ___processFinished, ___processKilled, __dispatch, __read, __read, __write, __write, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, processCancelled, processFinished, processKilled
 
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, clone, ice_dispatch, ice_hash, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Ice.Object
__collocDispatch, clone, equals, ice_dispatch, ice_hash, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
 

Field Detail

process

protected final omero.grid.ProcessPrx process
Proxy passed to this instance on creation. Can be used by subclasses freely. The object will not be nulled, but may be closed server-side.

Constructor Detail

ProcessCallbackI

public ProcessCallbackI(client client,
                        omero.grid.ProcessPrx process)
                 throws omero.ServerError
Throws:
omero.ServerError

ProcessCallbackI

public ProcessCallbackI(client client,
                        omero.grid.ProcessPrx process,
                        boolean poll)
                 throws omero.ServerError
Throws:
omero.ServerError

ProcessCallbackI

public ProcessCallbackI(Ice.ObjectAdapter adapter,
                        omero.grid.ProcessPrx process)
                 throws omero.ServerError
Throws:
omero.ServerError

ProcessCallbackI

public ProcessCallbackI(Ice.ObjectAdapter adapter,
                        omero.grid.ProcessPrx process,
                        boolean poll)
                 throws omero.ServerError
Throws:
omero.ServerError
Method Detail

block

public ProcessCallbackI.Action block(long ms)
                              throws InterruptedException
Should only be used if the default logic of the process methods is kept in place. If "q.put" does not get called, this method will always block for the given milliseconds.

Parameters:
ms -
Returns:
Throws:
InterruptedException

processCancelled

public void processCancelled(boolean success,
                             Ice.Current __current)

processFinished

public void processFinished(int returncode,
                            Ice.Current __current)

processKilled

public void processKilled(boolean success,
                          Ice.Current __current)

close

public void close()


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.