R
- the result typeOortObject.Result.Deferred
public static interface OortObject.Result<R>
An asynchronous result.
Modifier and Type | Interface | Description |
---|---|---|
static class |
OortObject.Result.Deferred<D> |
Implementation of
OortObject.Result that allows applications to block,
waiting for the result, via OortObject.Result.Deferred.get(long, TimeUnit) . |
Modifier and Type | Method | Description |
---|---|---|
void |
onResult(R result) |
Callback method invoked when the result is available.
|
void onResult(R result)
Callback method invoked when the result is available.
result
- the result objectCopyright © 2008–2017 The CometD Project. All rights reserved.