Package org.cometd.oort
Interface OortObject.Result<R>
- Type Parameters:
R
- the result type
- All Known Implementing Classes:
OortObject.Result.Deferred
- Enclosing class:
- OortObject<T>
public static interface OortObject.Result<R>
An asynchronous result.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OortObject.Result.Deferred<D>
Implementation ofOortObject.Result
that allows applications to block, waiting for the result, viaOortObject.Result.Deferred.get(long, TimeUnit)
. -
Method Summary
-
Method Details
-
onResult
Callback method invoked when the result is available.
- Parameters:
result
- the result object
-