ome.services.throttling
Class Task
java.lang.Object
ome.services.throttling.Task
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- Adapter, Callback
public abstract class Task
- extends Object
- implements Runnable
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
- Specified by:
run
in interface Runnable
response
protected void response(Object rv)
- Calls the response method
exception
protected void exception(Throwable ex)
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.