I - The type of the result returned by the future associated with
this future.O - The type of the RPC output.public final class RpcFuture<I,O> extends SettableVTNFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> implements com.google.common.util.concurrent.FutureCallback<I>
| Constructor and Description |
|---|
RpcFuture(VTNFuture<I> f,
RpcOutputGenerator<I,O> gen)
Construct a new future which represents an ongoing RPC request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable cause)
Invoked when the main task of the RPC has failed.
|
void |
onSuccess(I result)
Invoked when the main task of the RPC has completed successfully.
|
cancel, get, get, isCancelled, isDone, maskCancel, onFutureFailed, onFutureSucceeded, set, setException, setThread, unmaskCanceladdListener, done, getCause, getExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckedGet, checkedGetCopyright © 2018 OpenDaylight. All rights reserved.