Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
cb |
protected Ice.Current |
current |
protected java.lang.reflect.Method |
exception |
protected boolean |
isVoid |
protected java.lang.reflect.Method |
response |
Constructor and Description |
---|
Task(java.lang.Object callback,
Ice.Current current,
boolean isVoid) |
Modifier and Type | Method and Description |
---|---|
protected void |
exception(java.lang.Throwable ex,
OmeroContext ctx) |
protected java.lang.Object |
postProcess(java.lang.Object rv)
Can be overridden to transform the return value from the async method.
|
protected void |
response(java.lang.Object rv,
OmeroContext ctx)
Calls the response method
|
abstract void |
run(OmeroContext ctx) |
java.lang.String |
toString() |
protected final java.lang.Object cb
protected final boolean isVoid
protected final Ice.Current current
protected final java.lang.reflect.Method response
protected final java.lang.reflect.Method exception
public abstract void run(OmeroContext ctx)
protected void response(java.lang.Object rv, OmeroContext ctx)
protected java.lang.Object postProcess(java.lang.Object rv) throws omero.ServerError
rv
- a return valueomero.ServerError
- if the transformation failedprotected void exception(java.lang.Throwable ex, OmeroContext ctx)
public java.lang.String toString()
toString
in class java.lang.Object
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.