ome.services.throttling
Class Callback2<R>

java.lang.Object
  extended by ome.services.throttling.Task
      extended by ome.services.throttling.Callback2<R>

public class Callback2<R>
extends Task

Callable-based callback which guarantees that ice_response or ice_exception is called. Similar to Callback, this instance is useful for servants which are BlitzOnly


Field Summary
 
Fields inherited from class ome.services.throttling.Task
exception, isVoid, response
 
Constructor Summary
Callback2(Ice.Current current, Object cb, boolean isVoid, Callable<R> callable)
           
 
Method Summary
 void run(OmeroContext ctx)
           
 
Methods inherited from class ome.services.throttling.Task
exception, response, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Callback2

public Callback2(Ice.Current current,
                 Object cb,
                 boolean isVoid,
                 Callable<R> callable)
Method Detail

run

public void run(OmeroContext ctx)
Specified by:
run in class Task


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

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