| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.remoting.api | |
| org.apache.dubbo.remoting.exchange.support |
| 限定符和类型 | 字段和说明 |
|---|---|
static io.netty.util.AttributeKey<Connection> |
Connection.CONNECTION |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
ConnectionManager.connect(URL url) |
Connection |
MultiplexProtocolConnectionManager.connect(URL url) |
Connection |
SingleProtocolConnectionManager.connect(URL url) |
static Connection |
Connection.getConnectionFromChannel(io.netty.channel.Channel channel) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConnectionManager.forEachConnection(Consumer<Connection> connectionConsumer) |
void |
MultiplexProtocolConnectionManager.forEachConnection(Consumer<Connection> connectionConsumer) |
void |
SingleProtocolConnectionManager.forEachConnection(Consumer<Connection> connectionConsumer) |
| 构造器和说明 |
|---|
ConnectionHandler(Connection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultFuture2 |
DefaultFuture2.newFuture(Connection connection,
Request request,
int timeout,
ExecutorService executor)
init a DefaultFuture
1.init a DefaultFuture
2.timeout check
|
static void |
DefaultFuture2.received(Connection connection,
Response response) |
static void |
DefaultFuture2.received(Connection connection,
Response response,
boolean timeout) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.