Java NIO系列教程 ServerSocketChannel。

答案解析

ServerSocketChannel用于监听TCP连接,支持非阻塞模式和Selector多路复用。