Netty学习笔记
Netty学习笔记, 包括代码学习, 源码分析.基于netty4.1, 用于记录Netty学习过程的各种信息和心得.
Netty的代码结构
netty源码的组织结构和包含的package如下:
- common
io.netty.util
io.netty.util.concurrent
- resolver
io.netty.resolver
- resolver-dns
io.netty.resolver.dns
- buffer
io.netty.buffer
- transport
io.netty.bootstrap
io.netty.channel
io.netty.channel.EventLoop
- transport-native-epoll
io.netty.channel.epoll
io.netty.channel.unix
- transport-rxtx
io.netty.channel.rxtx
- transport-sctp
io.netty.channel.sctp
com.sun.nio.sctp
io.netty.handler.codec.sctp
- transport-udt
io.netty.channel.udt
- handler
io.netty.handler.ipfilter
io.netty.handler.logging
io.netty.handler.ssl
io.netty.handler.stream
io.netty.handler.timeout
io.netty.handler.traffic
- handler-proxy
io.netty.handler.proxy
- codec
- codec:
io.netty.handler.codec
- dns:
io.netty.handler.codec.dns
- haproxy:
io.netty.handler.codec.haproxy
- http:
io.netty.handler.codec.http
- http2:
io.netty.handler.codec.http2
- memcache:
io.netty.handler.codec.memcache
- mqtt:
io.netty.handler.codec.mqtt
- socks:
io.netty.handler.codec.socksx
- xml:
io.netty.handler.codec.xml
- codec:
学习重点和进度
- resolver
io.netty.resolver
- buffer
io.netty.buffer
(Ongoing)
- transport
io.netty.bootstrap
(Done)io.netty.channel
(Done)io.netty.channel.EventLoop
(Done)
- handler
- codec
- codec:
io.netty.handler.codec
- http:
io.netty.handler.codec.http
- http2:
io.netty.handler.codec.http2
- codec: