| 软件包 | 描述 |
|---|---|
| io.netty.channel.group |
通道注册表,帮助用户维护打开的 Channel列表并对其执行批量操作。
|
| 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.await() |
ChannelGroupFuture |
ChannelGroupFuture.awaitUninterruptibly() |
ChannelGroupFuture |
DefaultChannelGroup.close() |
ChannelGroupFuture |
ChannelGroup.close()
关闭此组中的所有 Channel 。
|
ChannelGroupFuture |
DefaultChannelGroup.close(ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.close(ChannelMatcher matcher)
关闭所有 Channel s此组由给定匹配的ChannelMatcher 。
|
ChannelGroupFuture |
DefaultChannelGroup.deregister() |
ChannelGroupFuture |
ChannelGroup.deregister()
已过时。
该方法将在下一个主要功能版本中删除。
注销所有
Channel s该组中从他们EventLoop 。
请注意,此操作是异步的,因为ChannelOutboundInvoker.deregister()是。
|
ChannelGroupFuture |
DefaultChannelGroup.deregister(ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.deregister(ChannelMatcher matcher)
已过时。
该方法将在下一个主要功能版本中删除。
从
EventLoop注销该组中的所有Channel s,它们与给定的ChannelMatcher相匹配。
请注意,此操作是异步的,因为ChannelOutboundInvoker.deregister()是。
|
ChannelGroupFuture |
DefaultChannelGroup.disconnect() |
ChannelGroupFuture |
ChannelGroup.disconnect()
将该组中的所有 Channel与远程对等设备断开连接。
|
ChannelGroupFuture |
DefaultChannelGroup.disconnect(ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.disconnect(ChannelMatcher matcher)
将该组中的所有 Channel与远程对等设备断开连接,并与给定的ChannelMatcher相匹配。
|
ChannelGroupFuture |
DefaultChannelGroup.flushAndWrite(java.lang.Object message) |
ChannelGroupFuture |
ChannelGroup.flushAndWrite(java.lang.Object message)
已过时。
|
ChannelGroupFuture |
DefaultChannelGroup.flushAndWrite(java.lang.Object message, ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.flushAndWrite(java.lang.Object message, ChannelMatcher matcher)
|
ChannelGroupFuture |
DefaultChannelGroup.newCloseFuture() |
ChannelGroupFuture |
ChannelGroup.newCloseFuture()
返回 ChannelGroupFuture当所有这一切将被通知Channel个 S中的这部分ChannelGroup ,在调用的时候,被关闭。
|
ChannelGroupFuture |
DefaultChannelGroup.newCloseFuture(ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.newCloseFuture(ChannelMatcher matcher)
返回 ChannelGroupFuture当所有这一切将被通知Channel个 S中的这部分ChannelGroup ,在调用的时候,被关闭。
|
ChannelGroupFuture |
ChannelGroupFuture.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelGroupFuture |
ChannelGroupFuture.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelGroupFuture |
ChannelGroupFuture.sync() |
ChannelGroupFuture |
ChannelGroupFuture.syncUninterruptibly() |
ChannelGroupFuture |
DefaultChannelGroup.write(java.lang.Object message) |
ChannelGroupFuture |
ChannelGroup.write(java.lang.Object message)
将指定的 message写入该组中的所有Channel 。
|
ChannelGroupFuture |
DefaultChannelGroup.write(java.lang.Object message, ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.write(java.lang.Object message, ChannelMatcher matcher)
将指定的 message所有Channel s此组由给定的匹配ChannelMatcher 。
|
ChannelGroupFuture |
DefaultChannelGroup.write(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise) |
ChannelGroupFuture |
ChannelGroup.write(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)
将指定的 message所有Channel s此组由给定的匹配ChannelMatcher 。
|
ChannelGroupFuture |
DefaultChannelGroup.writeAndFlush(java.lang.Object message) |
ChannelGroupFuture |
ChannelGroup.writeAndFlush(java.lang.Object message)
|
ChannelGroupFuture |
DefaultChannelGroup.writeAndFlush(java.lang.Object message, ChannelMatcher matcher) |
ChannelGroupFuture |
ChannelGroup.writeAndFlush(java.lang.Object message, ChannelMatcher matcher)
拨打 ChannelGroup.write(Object)和ChannelGroup.flush()的快捷方式,仅适用于与ChannelMatcher匹配的Channel 。
|
ChannelGroupFuture |
DefaultChannelGroup.writeAndFlush(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise) |
ChannelGroupFuture |
ChannelGroup.writeAndFlush(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)
|
Copyright © 2008–2018 The Netty Project. All rights reserved.