public class NettyFactory extends Object implements ServerFactory, ClientFactory
| 构造器和说明 |
|---|
NettyFactory(Parameters parameters) |
| 限定符和类型 | 方法和说明 |
|---|---|
SupportedRpcType |
getRpcType() |
NettyClientRpc |
newRaftClientRpc(ClientId clientId,
RaftProperties properties) |
NettyRpcService |
newRaftServerRpc(RaftServer server) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcast, newLogAppendercastpublic NettyFactory(Parameters parameters)
public SupportedRpcType getRpcType()
getRpcType 在接口中 RpcType.Getpublic NettyRpcService newRaftServerRpc(RaftServer server)
newRaftServerRpc 在接口中 ServerFactorypublic NettyClientRpc newRaftClientRpc(ClientId clientId, RaftProperties properties)
newRaftClientRpc 在接口中 ClientFactoryCopyright © 2017–2025 The Apache Software Foundation. All rights reserved.