1、Channel
2, the callback
3、Future
4, event and ChannelHandler
1, Channel is considered incoming or outgoing data carrier, which can be opened or closed;
2, the callback: a reference to another method that has been supplied to the process;
3, Future: providing another notification application when completion of the operation mode;
4, event and ChannelHandler: use different events to notify the state or change the operation of our state;
EventLoopGroup: react thread pool; ( part of the routine use of a EventLoopGroup, part of the routine creates two EventLoopGroup, so what are the benefits and the difference? )
eventloop and eventloopgroup: the relationship between threads and thread groups;
channelpipeline:
ChannelInboundHandlerAdapter;
ChannelHandlerAdapter;
ChannelOutboundHandlerAdapter ;
processSelectedKey:
Reference learn the following:
Netty TCP server server-based proactive solutions to client Message
https://blog.csdn.net/yaobo2816/article/details/49073557
https://www.cnblogs.com/wuxun1997/p/11655537.html
https://blog.csdn.net/a770794164/article/details/95594048