public class PojoRpcMethodInfo extends RpcMethodInfo
| 构造器和说明 |
|---|
PojoRpcMethodInfo(Method method,
ProtobufRPC protobufPRC)
Instantiates a new pojo rpc method info.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
inputEncode(Object input)
Input encode.
|
Object |
outputDecode(byte[] output)
Output decode.
|
getAuthenticationDataHandler, getClientAttachmentHandler, getInputClass, getLogIDGenerator, getMethod, getMethodName, getOnceTalkTimeout, getOutputClass, getProtobufPRC, getServiceName, isMessageType, isMessageType, setMethodName, setOnceTalkTimeout, setServiceNamepublic PojoRpcMethodInfo(Method method, ProtobufRPC protobufPRC)
method - the methodprotobufPRC - the protobuf prcpublic byte[] inputEncode(Object input) throws IOException
RpcMethodInfoinputEncode 在类中 RpcMethodInfoinput - the inputIOException - Signals that an I/O exception has occurred.public Object outputDecode(byte[] output) throws IOException
RpcMethodInfooutputDecode 在类中 RpcMethodInfooutput - the outputIOException - Signals that an I/O exception has occurred.Copyright © 2022 Baidu, Inc.. All rights reserved.