public class DecodeableRpcResult extends com.alibaba.dubbo.rpc.RpcResult implements Codec, com.alibaba.dubbo.remoting.Decodeable
NEED_MORE_INPUT| 构造器和说明 |
|---|
DecodeableRpcResult(com.alibaba.dubbo.remoting.Channel channel,
com.alibaba.dubbo.remoting.exchange.Response response,
InputStream is,
com.alibaba.dubbo.rpc.Invocation invocation,
byte id) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode() |
Object |
decode(com.alibaba.dubbo.remoting.Channel channel,
InputStream input) |
void |
encode(com.alibaba.dubbo.remoting.Channel channel,
OutputStream output,
Object message) |
public DecodeableRpcResult(com.alibaba.dubbo.remoting.Channel channel,
com.alibaba.dubbo.remoting.exchange.Response response,
InputStream is,
com.alibaba.dubbo.rpc.Invocation invocation,
byte id)
public void encode(com.alibaba.dubbo.remoting.Channel channel,
OutputStream output,
Object message)
throws IOException
encode 在接口中 CodecIOExceptionpublic Object decode(com.alibaba.dubbo.remoting.Channel channel, InputStream input) throws IOException
decode 在接口中 CodecIOExceptionCopyright © 2018. All rights reserved.