public class DecodeableRpcInvocation extends com.alibaba.dubbo.rpc.RpcInvocation implements Codec, com.alibaba.dubbo.remoting.Decodeable
NEED_MORE_INPUT| 构造器和说明 |
|---|
DecodeableRpcInvocation(com.alibaba.dubbo.remoting.Channel channel,
com.alibaba.dubbo.remoting.exchange.Request request,
InputStream is,
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) |
addAttachments, addAttachmentsIfAbsent, getArguments, getAttachment, getAttachment, getAttachments, getInvoker, getMethodName, getParameterTypes, setArguments, setAttachment, setAttachmentIfAbsent, setAttachments, setInvoker, setMethodName, setParameterTypes, toStringpublic DecodeableRpcInvocation(com.alibaba.dubbo.remoting.Channel channel,
com.alibaba.dubbo.remoting.exchange.Request request,
InputStream is,
byte id)
public void decode()
throws Exception
decode 在接口中 com.alibaba.dubbo.remoting.DecodeableExceptionpublic 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.