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 ClassesModifier and TypeInterfaceDescriptionstatic classImplementation ofOortObject.Resultthat 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
-