NettyUtils 用于基于NIO或EPOLL创建Netty概念
Utilities for creating various Netty constructs based on whether we’re using EPOLL or NIO.
1.1、getClientChannelClass根据IOMode,获取对应的SocketChannel
/**
* Returns the correct (client) SocketChannel class based on IOMode.
*/
public static Class
关注
打赏