软件包 | 描述 |
---|---|
io.netty.channel |
核心通道API是异步和事件驱动的各种传输(如
NIO Channel)的抽象 。
|
io.netty.channel.group |
帮助用户维护开放 Channel 列表并对其执行批量操作的通道注册表。
|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
io.netty.util.concurrent |
并发/异步任务的实用程序类。
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelFutureListener
听取 ChannelFuture 的结果。
|
interface |
ChannelProgressiveFutureListener
一个
EventListener 监听器,当与未来相关的发送任务正在传输时将被调用。
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelPromiseAggregator
已过时。
使用
PromiseCombiner 通过收听单个期货并在所有期货完成时产生汇总结果(成功/失败),用于将多个渠道期货合并为一个。
|
class |
ChannelPromiseNotifier
ChannelFutureListener实现需要其他 ChannelPromise (s)并在完成时通知它们。
|
class |
DelegatingChannelPromiseNotifier |
Modifier and Type | Method and Description |
---|---|
VoidChannelPromise |
VoidChannelPromise.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
DelegatingChannelPromiseNotifier.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
DefaultChannelPromise.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressivePromise |
DefaultChannelProgressivePromise.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
ChannelPromise.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressivePromise |
ChannelProgressivePromise.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressiveFuture |
ChannelProgressiveFuture.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelFuture |
ChannelFuture.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
VoidChannelPromise |
VoidChannelPromise.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
DelegatingChannelPromiseNotifier.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
DefaultChannelPromise.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressivePromise |
DefaultChannelProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
ChannelPromise.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressivePromise |
ChannelProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressiveFuture |
ChannelProgressiveFuture.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelFuture |
ChannelFuture.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
VoidChannelPromise |
VoidChannelPromise.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
DelegatingChannelPromiseNotifier.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
DefaultChannelPromise.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressivePromise |
DefaultChannelProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelPromise |
ChannelPromise.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressivePromise |
ChannelProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelProgressiveFuture |
ChannelProgressiveFuture.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelFuture |
ChannelFuture.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
VoidChannelPromise |
VoidChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
DelegatingChannelPromiseNotifier.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
DefaultChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressivePromise |
DefaultChannelProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelPromise |
ChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressivePromise |
ChannelProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelProgressiveFuture |
ChannelProgressiveFuture.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelFuture |
ChannelFuture.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelGroupFutureListener
|
Modifier and Type | Method and Description |
---|---|
ChannelGroupFuture |
ChannelGroupFuture.addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelGroupFuture |
ChannelGroupFuture.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelGroupFuture |
ChannelGroupFuture.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelGroupFuture |
ChannelGroupFuture.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttp2ConnectionEncoder.FlowControlledBase
通过流量控制传送有效载荷的通用基本类型。
|
Modifier and Type | Interface and Description |
---|---|
interface |
FutureListener<V>
GenericFutureListener 的子类型,为了方便,隐藏了类型参数。
|
interface |
GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> |
Modifier and Type | Class and Description |
---|---|
class |
PromiseAggregator<V,F extends Future<V>>
已过时。
使用
PromiseCombiner GenericFutureListener 实施方案,通过收听个人Future 合并多个Future ,并在所有Future 完成时产生聚合结果(成功/失败)。
|
class |
PromiseNotifier<V,F extends Future<V>>
GenericFutureListener 执行其他Promise s并在完成时通知他们。
|
class |
UnaryPromiseNotifier<T> |
Modifier and Type | Method and Description |
---|---|
Promise<V> |
Promise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
ProgressivePromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressiveFuture<V> |
ProgressiveFuture.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
Future<V> |
Future.addListener(GenericFutureListener<? extends Future<? super V>> listener)
将指定的侦听器添加到此将来。
|
Promise<V> |
DefaultPromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
DefaultProgressivePromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
Future<V> |
CompleteFuture.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
Promise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
ProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressiveFuture<V> |
ProgressiveFuture.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Future<V> |
Future.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
将指定的侦听器添加到此将来。
|
Promise<V> |
DefaultPromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
DefaultProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Future<V> |
CompleteFuture.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
protected static void |
DefaultPromise.notifyListener(EventExecutor eventExecutor, Future<?> future, GenericFutureListener<?> listener)
通知听众未来已完成。
|
Promise<V> |
Promise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
ProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressiveFuture<V> |
ProgressiveFuture.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
Future<V> |
Future.removeListener(GenericFutureListener<? extends Future<? super V>> listener)
从此将来删除指定侦听器的第一个匹配项。
|
Promise<V> |
DefaultPromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
DefaultProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
Future<V> |
CompleteFuture.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
Promise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
ProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressiveFuture<V> |
ProgressiveFuture.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Future<V> |
Future.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
为将来的每个听众删除第一个匹配项。
|
Promise<V> |
DefaultPromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
DefaultProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Future<V> |
CompleteFuture.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Copyright © 2008–2018 The Netty Project. All rights reserved.