|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIce.ObjectImpl
omero.grid._ProcessorCallbackDisp
ome.services.blitz.impl.ProcessorCallbackI
public class ProcessorCallbackI
Callback used to lookup active processors via IceStorm.
Field Summary |
---|
Fields inherited from class omero.grid._ProcessorCallbackDisp |
---|
__ids |
Constructor Summary | |
---|---|
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<String> holder,
omero.model.Job job)
Primary constructor. |
Method Summary | |
---|---|
omero.grid.ProcessorPrx |
activateAndWait(Ice.Current current)
Generates a UUID-based Identity with the category of
PROCESSORCALLBACK.value and then calls
{@link #activateAndWait(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. |
void |
isAccepted(boolean accepted,
String sessionUuid,
String procConn,
Ice.Current __current)
Callback method called by the remote processor instance. |
void |
responseRunning(List<Long> jobIds,
Ice.Current __current)
Callback method which should not be called for this instance. |
Methods inherited from class omero.grid._ProcessorCallbackDisp |
---|
___isAccepted, ___responseRunning, __dispatch, __read, __read, __write, __write, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, isAccepted, responseRunning |
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 |
Constructor Detail |
---|
public ProcessorCallbackI(ServiceFactoryI sf)
ResultHolder
instance.
public ProcessorCallbackI(ServiceFactoryI sf, ResultHolder<String> holder, omero.model.Job job)
sf
- Cannot be null.holder
- Cannot be null.job
- Can be null.Method Detail |
---|
public omero.grid.ProcessorPrx activateAndWait(Ice.Current current) throws omero.ServerError
Identity
with the category of
PROCESSORCALLBACK.value
and then calls
{@link #activateAndWait(Current, Ice.Identity).
omero.ServerError
public omero.grid.ProcessorPrx activateAndWait(Ice.Current current, Ice.Identity acceptId) throws omero.ServerError
current
- acceptId
-
omero.ServerError
public void isAccepted(boolean accepted, String sessionUuid, String procConn, Ice.Current __current)
public void responseRunning(List<Long> jobIds, Ice.Current __current)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.