| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.remote.client | |
| com.alibaba.nacos.common.remote.client.grpc |
| 限定符和类型 | 字段和说明 |
|---|---|
protected RpcClient.ServerInfo |
Connection.serverInfo |
| 限定符和类型 | 方法和说明 |
|---|---|
protected RpcClient.ServerInfo |
RpcClient.currentRpcServer() |
RpcClient.ServerInfo |
RpcClient.getCurrentServer()
get current server.
|
protected RpcClient.ServerInfo |
RpcClient.nextRpcServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Connection |
RpcClient.connectToServer(RpcClient.ServerInfo serverInfo)
connect to server.
|
protected void |
RpcClient.reconnect(RpcClient.ServerInfo recommendServerInfo,
boolean onRequestFail)
switch server .
|
protected void |
RpcClient.switchServerAsync(RpcClient.ServerInfo recommendServerInfo,
boolean onRequestFail) |
| 构造器和说明 |
|---|
Connection(RpcClient.ServerInfo serverInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
GrpcClient.connectToServer(RpcClient.ServerInfo serverInfo) |
| 构造器和说明 |
|---|
GrpcConnection(RpcClient.ServerInfo serverInfo,
Executor executor) |
Copyright © 2018–2024 Alibaba Group. All rights reserved.