public class WsonrpcFuture<T> extends AbstractFuture<T> implements WsonrpcCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setError(Throwable throwable) |
void |
setValue(JsonRpcResponse resp) |
cancel, checkNotNull, get, get, interruptTask, isCancelled, isDone, set, setException, wasInterruptedpublic void setValue(JsonRpcResponse resp)
setValue 在接口中 WsonrpcCallbackpublic void setError(Throwable throwable)
setError 在接口中 WsonrpcCallbackCopyright © 2018. All rights reserved.