Netty role in the programming channelPipeline

In netty programming if the vast majority of us use the nio, nio more efficient compared to traditional io, nio and the core concept is inseparable from the channel, buffer, selector three important objects.

Then there is a concept in channelPipeline netty, the surface to understand the meaning of a passage, it is the actual channel data transmission in a container .

The reason why is because the container is defined as the channel here to register InboundChannelHandle and OnboundChannelHandle . Further netty design is more subtle, the data flow into and out of the processor can be asymmetric, of course, through the same data simultaneously channelHandle processor access.

FIG netty depicts a data stack of the stack is completely independent of the filters:

 

Guess you like

Origin www.cnblogs.com/zzq-include/p/12075798.html