@SPI public class GrpcFactory extends Object implements RpcFactory
RpcFactory.ConfigHelper<T>| Constructor and Description |
|---|
GrpcFactory() |
| Modifier and Type | Method and Description |
|---|---|
RpcClient |
createRpcClient(RpcFactory.ConfigHelper<RpcClient> helper) |
protected MarshallerRegistry |
getMarshallerRegistry() |
void |
register(MethodDescriptor method,
Class<?> reqCls,
Object defaultReqIns,
Object defaultRespIns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRpcClient, defaultClientConfigHelperpublic void register(MethodDescriptor method, Class<?> reqCls, Object defaultReqIns, Object defaultRespIns)
register in interface RpcFactorypublic RpcClient createRpcClient(RpcFactory.ConfigHelper<RpcClient> helper)
createRpcClient in interface RpcFactoryprotected MarshallerRegistry getMarshallerRegistry()
Copyright © 2023. All rights reserved.