public class DecodeableRpcResult extends AppResponse implements Codec, Decodeable
CompletableFuture.AsynchronousCompletionTaskNEED_MORE_INPUT| 构造器和说明 |
|---|
DecodeableRpcResult(Channel channel,
Response response,
InputStream is,
Invocation invocation,
byte id) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode() |
Object |
decode(Channel channel,
InputStream input) |
void |
encode(Channel channel,
OutputStream output,
Object message) |
addAttachments, getAttachment, getAttachment, getAttachments, getException, getValue, hasException, recreate, setAttachment, setAttachments, setException, setValue, toString, whenCompleteWithContextacceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsynccompletionFutureacceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsyncpublic DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id)
public void encode(Channel channel, OutputStream output, Object message) throws IOException
encode 在接口中 CodecIOExceptionpublic Object decode(Channel channel, InputStream input) throws IOException
decode 在接口中 CodecIOExceptionpublic void decode()
throws Exception
decode 在接口中 DecodeableExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.