ome.services.throttling
Class Task
java.lang.Object
ome.services.throttling.Task
- Direct Known Subclasses:
- Adapter, Callback, Callback2
public abstract class Task
- extends Object
Simple base task which contains logic for routing calls reflectively to
ice_response and ice_exception of any AMD callback.
- Since:
- Beta4
Constructor Summary |
Task(Object callback,
Ice.Current current,
boolean isVoid)
|
cb
protected final Object cb
isVoid
protected final boolean isVoid
current
protected final Ice.Current current
response
protected final Method response
exception
protected final Method exception
Task
public Task(Object callback,
Ice.Current current,
boolean isVoid)
run
public abstract void run(OmeroContext ctx)
response
protected void response(Object rv,
OmeroContext ctx)
- Calls the response method
exception
protected void exception(Throwable ex,
OmeroContext ctx)
toString
public String toString()
- Overrides:
toString
in class Object
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.