fix coide

This commit is contained in:
Looly
2022-05-16 09:42:43 +08:00
parent f7f44771e7
commit d52470e8e7
13 changed files with 12 additions and 759 deletions

View File

@@ -27,7 +27,7 @@ public class AcceptHandler implements CompletionHandler<ServerSocketChannel, Nio
}
// SocketChannel通道的可读事件注册到Selector中
NioUtil.registerChannel(nioServer.getSelector(), socketChannel, Operation.READ);
ChannelUtil.registerChannel(nioServer.getSelector(), socketChannel, Operation.READ);
}
@Override

View File

@@ -11,7 +11,7 @@ import java.nio.channels.Selector;
*
* @since 5.4.0
*/
public class NioUtil {
public class ChannelUtil {
/**
* 注册通道的指定操作到指定Selector上