ProtobufRpcEngine2的call方法实现如下,它对历史版本的protobuf实现进行了兼容。
即同时支持protobuf 2.5.0 和protobuf 3.x版本的RPC通信。
看下具体是怎么实现的?
@SuppressWarnings("deprecation")
protected Writable call(RPC.Server server, String connectionProtocolName
ProtobufRpcEngine2的call方法实现如下,它对历史版本的protobuf实现进行了兼容。
即同时支持protobuf 2.5.0 和protobuf 3.x版本的RPC通信。
看下具体是怎么实现的?
@SuppressWarnings("deprecation")
protected Writable call(RPC.Server server, String connectionProtocolName