public class MessageGeneratedRpcHandler extends AbstractAnnotationRpcHandler
inputIDl, outputIDL| 构造器和说明 |
|---|
MessageGeneratedRpcHandler(Method method,
Object service,
ProtobufRPCService protobufPRCService)
Instantiates a new message generated rpc handler.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
decodeOutputParam(Object ret)
Decode output param.
|
protected Object |
encodeInputParam(byte[] data)
Encode input param.
|
doHandle, doRealHandle, getAttachmentHandler, getAuthenticationHandler, getDescription, getInputClass, getInputMetaProto, getInterceptor, getMethod, getMethodName, getMethodSignature, getOutputClass, getOutputMetaProto, getService, getServiceName, setInterceptor, setServiceNamepublic MessageGeneratedRpcHandler(Method method, Object service, ProtobufRPCService protobufPRCService)
method - the methodservice - the serviceprotobufPRCService - the protobuf prc serviceprotected byte[] decodeOutputParam(Object ret) throws Exception
decodeOutputParam 在类中 AbstractAnnotationRpcHandlerret - the retException - the exceptionprotected Object encodeInputParam(byte[] data) throws Exception
AbstractAnnotationRpcHandlerencodeInputParam 在类中 AbstractAnnotationRpcHandlerdata - the dataExceptionCopyright © 2022 Baidu, Inc.. All rights reserved.