| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.core.controller | |
| com.alibaba.nacos.core.remote | |
| com.alibaba.nacos.core.remote.core | |
| com.alibaba.nacos.core.remote.grpc |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,Connection>> |
ServerLoaderController.currentClients()
Get current clients.
|
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) java.util.Map<java.lang.String,Connection> |
ConnectionManager.connections |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
ConnectionManager.getConnection(java.lang.String connectionId)
get by connection id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Map<java.lang.String,Connection> |
ConnectionManager.currentClients() |
java.util.List<Connection> |
ConnectionManager.getConnectionByIp(java.lang.String clientIp)
get by client ip.
|
| 限定符和类型 | 方法和说明 |
|---|---|
private boolean |
ConnectionManager.checkLimit(Connection connection) |
abstract void |
ClientConnectionEventListener.clientConnected(Connection connect)
notified when a client connected.
|
abstract void |
ClientConnectionEventListener.clientDisConnected(Connection connect)
notified when a client disconnected.
|
void |
ClientConnectionEventListenerRegistry.notifyClientConnected(Connection connection)
notify where a new client connected.
|
void |
ClientConnectionEventListenerRegistry.notifyClientDisConnected(Connection connection)
notify where a new client disconnected.
|
boolean |
ConnectionManager.register(java.lang.String connectionId,
Connection connection)
register a new connect.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcAckCallbackInitorOrCleaner.clientConnected(Connection connect) |
void |
RpcAckCallbackInitorOrCleaner.clientDisConnected(Connection connect) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GrpcConnection
grpc connection.
|
Copyright © 2018–2022 Alibaba Group. All rights reserved.