类的使用
com.alibaba.nacos.common.remote.client.Connection
使用Connection的程序包
-
com.alibaba.nacos.common.remote.client中Connection的使用
修饰符和类型方法说明abstract ConnectionRpcClient.connectToServer(RpcClient.ServerInfo serverInfo) connect to server.修饰符和类型方法说明protected voidRpcClient.notifyConnected(Connection connection) Notify when client new connected.protected voidRpcClient.notifyDisConnected(Connection connection) Notify when client disconnected.voidConnectionEventListener.onConnected(Connection connection) notify when connected to server.voidConnectionEventListener.onDisConnect(Connection connection) notify when disconnected to server.com.alibaba.nacos.api.remote.response.ResponseServerRequestHandler.requestReply(com.alibaba.nacos.api.remote.request.Request request, Connection connection) Handle request from server. -
com.alibaba.nacos.common.remote.client.grpc中Connection的使用