Class DecodeableRpcInvocation
java.lang.Object
org.apache.dubbo.rpc.RpcInvocation
org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation
- All Implemented Interfaces:
Serializable,Codec,Decodeable,Invocation
- See Also:
-
Field Summary
Fields inherited from interface org.apache.dubbo.remoting.Codec
NEED_MORE_INPUT -
Constructor Summary
ConstructorsConstructorDescriptionDecodeableRpcInvocation(org.apache.dubbo.rpc.model.FrameworkModel frameworkModel, Channel channel, Request request, InputStream is, byte id) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode()decode(Channel channel, InputStream input) voidencode(Channel channel, OutputStream output, Object message) Methods inherited from class org.apache.dubbo.rpc.RpcInvocation
addAttachments, addAttachmentsIfAbsent, addInvokedInvoker, addObjectAttachments, addObjectAttachmentsIfAbsent, copyObjectAttachments, foreachAttachment, get, getArguments, getAttachment, getAttachment, getAttachments, getAttributes, getCompatibleParamSignatures, getInvokedInvokers, getInvokeMode, getInvoker, getMethodName, getObjectAttachment, getObjectAttachment, getObjectAttachments, getObjectAttachmentWithoutConvert, getParameterTypes, getParameterTypesDesc, getProtocolServiceKey, getReturnType, getReturnTypes, getServiceModel, getServiceName, getTargetServiceUniqueName, put, setArguments, setAttachment, setAttachment, setAttachmentIfAbsent, setAttachmentIfAbsent, setAttachments, setCompatibleParamSignatures, setInvokeMode, setInvoker, setMethodName, setObjectAttachment, setObjectAttachmentIfAbsent, setObjectAttachments, setParameterTypes, setParameterTypesDesc, setReturnType, setReturnTypes, setServiceModel, setServiceName, setTargetServiceUniqueName, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.Invocation
getModuleModel
-
Constructor Details
-
DecodeableRpcInvocation
public DecodeableRpcInvocation(org.apache.dubbo.rpc.model.FrameworkModel frameworkModel, Channel channel, Request request, InputStream is, byte id)
-
-
Method Details
-
decode
- Specified by:
decodein interfaceDecodeable- Throws:
Exception
-
encode
- Specified by:
encodein interfaceCodec- Throws:
IOException
-
decode
- Specified by:
decodein interfaceCodec- Throws:
IOException
-