public class DecodeableRpcResult extends RpcResult implements Codec, Decodeable
NEED_MORE_INPUT| Constructor and Description |
|---|
DecodeableRpcResult(Channel channel,
Response response,
InputStream is,
Invocation invocation,
byte id) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode() |
Object |
decode(Channel channel,
InputStream input) |
void |
encode(Channel channel,
OutputStream output,
Object message) |
getException, getResult, getValue, hasException, recreate, setException, setResult, setValue, toStringaddAttachments, getAttachment, getAttachment, getAttachments, setAttachment, setAttachmentspublic DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id)
public void encode(Channel channel, OutputStream output, Object message) throws IOException
encode in interface CodecIOExceptionpublic Object decode(Channel channel, InputStream input) throws IOException
decode in interface CodecIOExceptionpublic void decode()
throws Exception
decode in interface DecodeableExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.