Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
刚开始在Netty Framework上做code walk,并试图找到这个框架的逻辑起点,请帮助。
JBOSS Netty 框架中的哪个类负责通过socket地址发送和接收字节,如何附加通道管道以带来异步I/O模式?
对于 Netty 3.6,AbstractNioSelector(及其子类)和AbstractNioChannelSink(及其子类)是很好的起点。
AbstractNioSelector
AbstractNioChannelSink
对于 Netty 4,从类层次结构开始并向上爬NioEventLoop。NioSocketChannel
NioEventLoop
NioSocketChannel