您当前的位置: 首页 > 

NettyUtils

宝哥大数据 发布时间:2019-04-15 22:49:26 ,浏览量:4

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            
关注
打赏
1688896170
查看更多评论
0.4136s