public class ProcessorCallbackI extends AbstractAmdServant implements omero.grid._ProcessorCallbackOperations
be, ctx, invoker, service| Constructor and Description | 
|---|
| ProcessorCallbackI(ServiceFactoryI sf)Simplified constructor used to see if any usermode processor is active
 for either the current group or the current user. | 
| ProcessorCallbackI(ServiceFactoryI sf,
                  ResultHolder<omero.grid.ProcessorPrx> holder,
                  omero.model.Job job)Primary constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| omero.grid.ProcessorPrx | activateAndWait(Ice.Current current)Generates a UUID-based  Identitywith the category ofPROCESSORCALLBACK.valueand then callsactivateAndWait(Current, Ice.Identity). | 
| omero.grid.ProcessorPrx | activateAndWait(Ice.Current current,
               Ice.Identity acceptId)Primary method which adds this instance to IceStorm, waits for a response
 from any active processor services, and finally unregister itself before
 returning the first processor instance which responded. | 
| int | getResponses()Return the number of times this instance has been called in a thread
 safe manner. | 
| void | isAccepted(boolean accepted,
          java.lang.String sessionUuid,
          java.lang.String procConn,
          Ice.Current __current)Deprecated.  | 
| void | isProxyAccepted(boolean accepted,
               java.lang.String sessionUuid,
               omero.grid.ProcessorPrx procProxy,
               Ice.Current __current)Callback method called by the remote processor instance. | 
| void | responseRunning(java.util.List<java.lang.Long> jobIds,
               Ice.Current __current)Callback method which should not be called for this instance. | 
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderpublic ProcessorCallbackI(ServiceFactoryI sf)
ResultHolder instance.public ProcessorCallbackI(ServiceFactoryI sf, ResultHolder<omero.grid.ProcessorPrx> holder, omero.model.Job job)
sf - Cannot be null.holder - Cannot be null.job - Can be null.public int getResponses()
public omero.grid.ProcessorPrx activateAndWait(Ice.Current current)
                                        throws omero.ServerError
Identity with the category of
 PROCESSORCALLBACK.value and then calls
 activateAndWait(Current, Ice.Identity).omero.ServerErrorpublic omero.grid.ProcessorPrx activateAndWait(Ice.Current current,
                                               Ice.Identity acceptId)
                                        throws omero.ServerError
current - acceptId - omero.ServerError@Deprecated
public void isAccepted(boolean accepted,
                                   java.lang.String sessionUuid,
                                   java.lang.String procConn,
                                   Ice.Current __current)
isAccepted in interface omero.grid._ProcessorCallbackOperationspublic void isProxyAccepted(boolean accepted,
                            java.lang.String sessionUuid,
                            omero.grid.ProcessorPrx procProxy,
                            Ice.Current __current)
isProxyAccepted in interface omero.grid._ProcessorCallbackOperationspublic void responseRunning(java.util.List<java.lang.Long> jobIds,
                            Ice.Current __current)
responseRunning in interface omero.grid._ProcessorCallbackOperations
                
                
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.