public class ChannelUtil extends Object
| Constructor and Description |
|---|
ChannelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerChannel(Selector selector,
SelectableChannel channel,
Operation ops)
注册通道的指定操作到指定Selector上
|
public static void registerChannel(Selector selector, SelectableChannel channel, Operation ops)
selector - Selectorchannel - 通道ops - 注册的通道监听(操作)类型Copyright © 2025. All rights reserved.