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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onResult(R result)
Callback method invoked when the result is available.
-
-
-
Method Detail
-
onResult
void onResult(R result)
Callback method invoked when the result is available.
- Parameters:
result
- the result object
-
-