| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.remote.client | |
| com.alibaba.nacos.common.remote.client.grpc |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Connection |
RpcClient.currentConnection |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Connection |
RpcClient.connectToServer(RpcClient.ServerInfo serverInfo)
connect to server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
RpcClient.notifyConnected(Connection connection)
Notify when client new connected.
|
protected void |
RpcClient.notifyDisConnected(Connection connection)
Notify when client disconnected.
|
void |
ConnectionEventListener.onConnected(Connection connection)
notify when connected to server.
|
void |
ConnectionEventListener.onDisConnect(Connection connection)
notify when disconnected to server.
|
Response |
ServerRequestHandler.requestReply(Request request,
Connection connection)
Handle request from server.
|
| 构造器和说明 |
|---|
ConnectionEvent(int eventType,
Connection connection) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GrpcConnection
gRPC connection.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
GrpcClient.connectToServer(RpcClient.ServerInfo serverInfo) |
Copyright © 2018–2024 Alibaba Group. All rights reserved.